Question: How do I go about writing this in Dev C++? A projectile is launched at a velocity of V0 and at an angle . The

How do I go about writing this in Dev C++? A projectile is launched at a velocity of V0 and at an angle . The projectiles time of travel in seconds, maximum distance of travel in feet, and maximum height of travel in feet can be determined by the following equations: time=2 V_0/g sin distance=2 (V_0^2)/g sincos height=(V_0^2)/2g sin^2 where g = 32.2 ft/s2. Define gravity (g) as a symbolic in your program. Also, define (pi) as a symbolic in your program and use 3.14159. ASSIGNMENT: Write a C program that will allow the user to enter the projectile velocity V0 in feet/sec and the projectile angle in degrees. Once the user enters the initial values, the program will compute the time, distance, and height values. Since the trigonometric functions require the angle in radians, the angle that is entered in degrees must be converted to radians. This must be computed prior to the time, distance, and height calculations. Use the following equation in your program to convert angle in degrees to angle in radians. radians= */180 Where is the angle in degrees.

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!