Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program motion.py that computes an approximate solution of the Newton equations for the motion of a projectile of mass 1 kg , launched

Write a program motion.py that computes an approximate solution of the Newton equations for
the motion of a projectile of mass 1 kg, launched at an angle of 45 degrees with respect to the
ground and initial velocity of 100 m/s, under the action of the Earths gravity, described by a
uniform downward acceleration of 9.81 m s
-2
, and of a drag force, opposite and proportional to
the velocity with proportionality constant 0.1 N s m-1
.
Derive an approximate solution of the equation of motion by the Euler finite difference method;
thet is, approximating differentials by finite differences. Choose a reasonably small time step.
Compute the trajectory of the projectile from the point of launch (at ground level) until it hits the
ground, assuming a flat ground surface. Have the program generate two line plots:
1. the trajectory, as y (vertical coordinate) vs. x (horizontal)
2. the speed (length of the velocity vector) as a function of time.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Describe several strategies to help develop leadership in athletes.

Answered: 1 week ago