Question: Solve the problem with C Problem: Given the mass of an airplane, the amount of forward force produced by its propellers, and the mass of

Solve the problem with C
Problem: Given the mass of an airplane, the amount of forward force produced by its propellers, and the mass of the glider it is towing, calculate the resulting tension on the cable connecting the two aircraft and the acceleration of the glider. Vertical forces and air resistance are not considered. All input and output will be positive floating-point (double) values. Your program must accept input and produce output that matches exactly to the given executions. Example Execution #1: Enter mass of airplane (kg) -> 15000 Enter mass of glider (kg) -> 5000 Enter force produced by propellers (N) -> 75000 Resulting tension: 18750.00 Newtons Acceleration of glider: 3.75 m/s^2 Example Execution #2: Enter mass of airplane (kg) -> 10000 Enter mass of glider (kg) -> 5000 Enter force produced by propellers (N) -> 75000 Resulting tension: 25000.00 Newtons Acceleration of glider: 5.00 m/s^2 Example Execution #3: Enter mass of airplane (kg) -> 15000 Enter mass of glider (kg) -> 3750 Enter force produced by propellers (N) -> 75000 Resulting tension: 15000.00 Newtons Acceleration of glider: 4.00 m/s^2 Example Execution #4: Enter mass of airplane (kg) -> 15000 Enter mass of glider (kg) -> 5000 Enter force produced by propellers (N) -> 85000 Resulting tension: 21250.00 Newtons Acceleration of glider: 4.25 m/s^2 Example Execution #5: Enter mass of airplane (kg) -> 12250.25 Enter mass of glider (kg) -> 3125.75 Enter force produced by propellers (N) -> 70575.55 Resulting tension: 14347.13 Newtons Acceleration of glider: 4.59 m/s^2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
