Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ASSIGNMENT #4 A small test rocket is being designed for use in testing a retrorocket that is intended to permit soft landings. The designers have

ASSIGNMENT #4 A small test rocket is being designed for use in testing a retrorocket that is intended to permit soft landings. The designers have derived the following equations that they believe will predict the performance of the test rocket. (t = elapsed time in seconds) 6.07t2.751 Acceleration in ft/sec2 = 4.25 - .015t2 + ------------ 9995 .015t3 6.07t3.751 Velocity in ft/sec = 4.25t - -------- + ------------- 3 3.751(9995) 4.25t2 .015t4 6.07t4.751 Distance in ft = 90 + -------- - -------- + ------------ 2 12 4.751(37491) Note: The distance equation gives the height above ground level at time t and the first term (90) is the height in feet above ground level of the launch platform that will be used. In order to check the predicted performance, the rocket will be flown on a computer, using the derived equations. Write a program to cover a maximum flight of 100 seconds. The output should be of the following form: TIME ACCELERATION VELOCITY DISTANCE (sec) (ft/sec2) (ft/sec) (ft) XXX.XX XXX.XX XXX.XX XXXX.XX (Starting with 0.0 sec) Increments of time are to be 2.0 seconds, from launch through the ascending and descending portions of the trajectory until the rocket descends to within 60 feet of ground level. Below 60 feet the time increments are to be 0.05 seconds. If the rocket impacts prior to 100 seconds, the program is to be stopped immediately after impact. Submit in Canvas your algorithm or flowchart, a copy of your source code (assignment4.cpp) and a screen shot of the programs output. Documentation will be 20% of your grade. Your source code must contain the following documentation.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions