Question: Write a C++ code according to this. The position of a projectile at any time t, fired with a speed of v(0) = 162m/s at

Write a C++ code according to this. The position of a projectile at any time t, fired with a speed of v(0) = 162m/s at an angle a=70 degress, is given by

x(t)= v(0)tcos(a) y(t) = v(0)tsin(a) -0.5gt^2

g=9.81m/s^2

write a C++ code that writes in a file the coodrinates x(t), y(t) of projectile, in increments of delta t= 0.01s

no negative values of y(t)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!