We are so motivated to show the projectile motion but emphasize to vector algebra. We could find some help in SE for the projectile motion but non of them have been satisfied our aims. Please see the bellow equation for the position and velocity vectors:
r[t_] :=
( v0 Cos[α] t + x0) i +
0.5 a t^2 + v0 Sin[α] t + y0) j;
v[t_] :=
( v0 Cos[α]) i + (0.5a t + v0 Sin[α] t) j
in which the arbitrary parameters (a<0, v0, α, x0, y0
) can be defined before running. In an explicit format
The parabolic shape of the projectile can be given by:
y[x_] :=
(a x^2)/(2 v0^2 Cos[α]^2) + x Tan[α] + y0
Firstly we wish to have a figure containing the position and velocity vector as functions of time and should be animated by Manipulate
function. Same as:
Secondly, it is very interesting to have the approximate velocity obtained from Δr/ϵ
, in which ϵ
can be changeable, and the real velocity for getting better comparison between them. They are plotted in the bellow figure
r
has unbalanced parentheses and gravity seems to be acting in the positive x direction rather than in the negative y direction. $\endgroup$