Engineering
Engineering, 25.02.2020 22:54, emmamood

Your program should do the following: 1. Interactively request and read in the initial altitude (in Km) and fuel supply (in Kg) of the Enterprise as well as the strength of the Deltoid's tractor beam (in Km/min/min). Your program must allow someone entering these data items to do so repeatedly, allowing for multiple simulations. Do this by asking the user to enter a 'y' or 'n' before each simulation, indicating whether or not a new simulation should be run at that time. 2. Compute the amount of fuel required to escape from that altitude. The amount required can be calculated using this formula: fuel_required = (1 - altitude / 200000) * beam_strength 3. If there is sufficient fuel available, recommend escaping at once. 4. If there is insufficient fuel available, advise Captain Kirk to turn off the engines and have Scotty start shoveling. If we don't turn off the engines, Scotty might get toasted when he opens the fuel door. 5. Your program should then display a minute-by-minute status report on the Enterprise's condition. This report should continue until the Enterprise has enough fuel to escape the planet, or the ship crashes. 6. Based on the results of your report, tell the Captain how long he should wait before starting the engines, or how long before the ship will crash.

answer
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, koolgurl2003
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
image
Engineering, 04.07.2019 18:10, winterblanco
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
image
Engineering, 04.07.2019 18:10, siri5645
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
image
Engineering, 04.07.2019 19:10, netflixacc0107
What is the major difference between thermoplastics and thermosetting plastics from the polymerization structure point of view?
Answers: 2
Do you know the correct answer?
Your program should do the following: 1. Interactively request and read in the initial altitude (in...

Questions in other subjects:

Konu
Spanish, 27.02.2021 01:30
Konu
Mathematics, 27.02.2021 01:30