Determining The Trajectory of Projectile Motion in Gravity
Determining The Trajectory of Projectile Motion in Gravity
1.Introduction
Motion, in physics, is defined as the change in position of an object with respect to its
surroundings in a given interval of time.
Projectile motion is the motion of an object projected into the air with an initial velocity v 0 with
horizontal angle α (throw angle) and moving under the influence of gravity.
Projectile motion with linear drag is the motion of an object thrown or projected into the air,
subject is affected by gravity and linear drag force (such as air resistance, wind, …). The object
is called a projectile, and its path is called its trajectory. The motion of falling objects, is a two-
dimensional type of projectile motion in which there are horizontal and vertical movement. This
project considers two-dimensional projectile motion, such as that of the cannon ball or other
object with air resistance (figure 1) [1].
Using the symbolic calculation of MATLAB, there is a mentioned equations and initial
conditions to calculate the trajectory, and plot the trajectory depending on the angle.
Set up the differential equations with x (t) and y (t). Use symbolic commands to solve the system
of equations.
Dx = diff(x,t);
Dy = diff(y,t);
ode1 = diff(x,2) == -(h/m)*Dx;
ode2 = diff(y,2) == -g -(h/m)*Dy;
ic = [Dx(0) == v0*cos(a); Dy(0) == v0*sin(a); x(0) == 0; y(0) ==
0];
h = dsolve(ode1,ode2,ic);
disp ('The motion equation of particular is: ');
disp ('x= '); disp(h.x)
disp ('y= '); disp(h.y)
Plot the trajectory depending on the angle (15, 30, 45, 60, 750).
fplot(h.x,h.y,[0,t0]);
xlabel('x');
ylabel('y');
Discussion:
Above results exactly match the results manually calculated. With MATLAB calculation, we can
replace appropriately many others values of quantities to study other special cases.
5. Conclusion
The project has completed the solution of the projectile motion problem using MATLAB
symbolic calculation. With this tool we can solve more complex motion situations that cannot be
solved by the analytical method.
References:
[1] PhD. Paola La Rocca & Prof. Francesco Riggi (Professor), Projectile motion with a drag
force: Were the Midievals right after all?, 2009. DOI: 10.1088/0031-9120/44/4/009
https://www.researchgate.net/publication/
228919307_Projectile_motion_with_a_drag_force_Were_the_Medievals_right_after_all
[2] OER Service, Projectile motion
https://courses.lumenlearning.com/suny-physics/chapter/3-4-projectile-motion/