Write a C++ program to compute the average thrust of a rocket motor. The program should read the we…
Автор: Melissa Dela cruz
Загружено: 2025-05-18
Просмотров: 0
Описание:
Write a C++ program to compute the average thrust of a rocket motor. The program should read the weight of the rocket in pounds and its average velocity in feet/sec during the burning of the first stage (time interval t in seconds). The program must have two functions: funcforce() and funthrust(). funcforce() receives weight, average velocity, and time interval, then computes and returns the force using the formula: f = W * (6-32.2 ft/sec^2), where 32.2 ft/sec^2 is the gravitational acceleration. funthrust() computes and returns the total thrust by receiving weight and force using the formula: thrust = W + f. The program should have a loop so that it continues until the user #x27;s choice is not to continue. Sample input/output: Computing Rocket Motor Thrust Enter the weight of the rocket in pounds: 5000 Enter the average velocity: 2000 Enter the first stage burning time interval: 10 Force due to acceleration: 31055.9 Total Thrust due to acceleration: 36055.9 Do you want to continue? (y/n) Computing Rocket Motor Thrust Enter the weight of the rocket in pounds: Enter the average velocity: 500 Enter the first stage burning time interval: 20 Wrong input. Do you want to continue? (Y/n) Do you want to continue? (Y/n)
Watch the full video at:
https://www.numerade.com/ask/question...
Never get lost on homework again. Numerade is a STEM learning website and app with the world’s largest STEM video library.
Join today and access millions of expert-created videos, each one skillfully crafted to teach you how to solve tough problems step-by-step.
Join Numerade today at:
https://www.numerade.com/signup/?utm_...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: