Question: Assignment Task: This project will require you to use your programming expertise to solve Newton's laws of motion. There are some systems for which the
Assignment Task:
This project will require you to use your programming expertise to solve Newton's laws of motion. There are
some systems for which the equation of motion Newtons second law cannot be solved analytically. We will
need numerical methods for solving the equation of motion. The project involves setting up the equations for
the given system and implementing an algorithm for solving the equations of motion.
In this project, you will need to simulate the motion of a projectile thrown with a velocity at an angle
horizontally moving under the influence of a constant gravitational force in the downward direction and air
resistance. The air resistance opposes the motion acts opposite to the direction of the instantaneous
velocity and is proportional to the square of the velocity proportionality constant is b
Write down Newton's second law for the and directions and then solve them by Euler's method. In Euler's
method, use the value of acceleration which is calculated from Newton's second law to change the velocity
using the equation Here, is the velocity at the beginning of the time
interval and is the velocity at the end. Use the value of to change the position
Put both these equations along with the expression for the acceleration inside a FOR loop. Remember that
you will have two sets of equations one set along and the other along Store the values of and you
obtain in arrays or write it on to a file Use plotting software such as Microsoft Excel to draw a graph of vs
You can also do the entire project in Excel. If you use Excel, you will not have FOR loops. Instead, you will
have columns for and
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
