Question: C language Programming Problem: Given the mass of an airplane, the amount of forward force produced by its propellers, and the mass of the TWO

C language Programming
Problem: Given the mass of an airplane, the amount of forward force produced by its propellers, and the mass of the TWO gliders it is towing (airplane connected to first glider and the first glider is connected to the second glider), calculate the resulting tension on each cable connecting the aircraft and the acceleration of the glider. Vertical forces and air resistance are not considered. Your program must accept input and produce output that matches exactly to the given executions. Note that the width modifier used for the tension values is calculated as the number of digits in the force input plus six. Example Execution #1 (eleven spaces after colon character for tension output): Enter mass of airplane (kg) -> 15000 Enter mass of glider #1 (kg) -> 5000 Enter mass of glider #2 (kg) -> 4500 Enter force produced by propellers (N) -> 75000 Acceleration: 3.06 m/s^2 Resulting tension on cable #1: Resulting tension on cable #2: 29081.63 Newtons 13775.51 Newtons Example Execution #2: Enter mass of airplane (kg) -> 15000 Enter mass of glider #1 (kg) -> 4500 Enter mass of glider #2 (kg) -> 5000 Enter force produced by propellers (N) -> 75000 Acceleration: 3.06 m/s^2 Resulting tension on cable #1: Resulting tension on cable #2: 29081.63 Newtons 15306.12 Newtons Example Execution #3: Enter mass of airplane (kg) -> 12750.9 Enter mass of glider #1 (kg) -> 2125.2 Enter mass of glider #2 (kg) -> 2075.136 Enter force produced by propellers (N) -> 38657 Acceleration: 2.28 m/s^2 Resulting tension on cable #1: Resulting tension on cable #2: 9578.79 Newtons 4732.31 Newtons
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
