Question: ENGR 200 SPRING, 2019 A2: PROJECTILE POSITION CALCULATIONS (basic program development) DUE: Jan. 28, 2019 at 11:59 pm, CST, (Mon/Wed section) Jan. 29, 2019 at

 ENGR 200 SPRING, 2019 A2: PROJECTILE POSITION CALCULATIONS (basic program development)

ENGR 200 SPRING, 2019 A2: PROJECTILE POSITION CALCULATIONS (basic program development) DUE: Jan. 28, 2019 at 11:59 pm, CST, (Mon/Wed section) Jan. 29, 2019 at 11:59 pm, CST, (Tues & Distance sections) POINTS: 40 INTRODUCTION: A projectile is launched with a velocity in m/s and at an angle (alpha) in degrees. See the illustration to the right. The Cartesian coordinates (x(t).y(t) of the projectile as a function of time are computed by: x(t) = u * cos * t y(t)-v * sin * t--gt2 V. where v is velocity in m/s, / is time in seconds, and g is the gravitational constant 9.81 m/s2. The Polar coordinates (r(t),0(t)) for down range distance in meters and angle (theta) in degrees of the projectile as a function of time are computed 9 y: r(t)-Vx(t)2 + y(t)? tan -x(t) Note: To compute theta use either the atan or atan2 ASSIGNMEN: Write a C program that will prompt the user to enter the velocity in m/s, the angle (alpha) in degrees, and the time in seconds. After entering the input values, the program will compute the Cartesian coordinates and the Polar coordinates. Print the results to the computer screen using the format given below. Use your PC's cursor to determine the horizontal and vertical spacing from the output format as well OUTPUT FORMAT: PROJECTILE POSITION CALCULATIONS Enter projectile velocity in m/sx Enter proiectile angle in degrees: x Enter projectile time in seconds x To test your program use numbers within the following ranges RESULTS velocity of the projectile xx.x m/s Angle of the projectile XXXAX deg Time of the projectile Velocity: 50-100 Alpha: 45-70 Time: 1-10 Cartesian Coordinates x(t) y (t) Polar Coordinates r(ttht)

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!