Calculate number of second for water balloon to hit the dean

Assignment Help Electrical Engineering
Reference no: EM13261450

When an object is falling because of gravity, the following formula can be used to determine the distance the object falls in a specific time period:

d = ½ (gt2)

The variables in the formula are as follows: d is the distance in meters, g is 9.8, and t is the amount of time, in seconds, that the object has been falling.

Assume you are standing atop the Engineering Research Center, holding a ketchup-filled water balloon. The dean is walking by in a bright, clean white hat, soon to arrive right underneath your perch. And temptation strikes. And is irresistible.

Assume the Dean is walking X meters / second, and you are now standing Y meters above the Dean's path. You try to drop the balloon when the Dean is Z meters away from the spot below you, and you must guarantee the strike. Write a program to determine Z using inputs X and Y given by cin.
You have to use a function to calculate the number of seconds for the water balloon to hit the Dean, and another function to calculate the Z value for you to drop the water balloon. So, including the main function, your program must contain at least three functions. Finally, you use cout to display the Z value. Do NOT use X, Y, Z as variable names in your program, as these are not meaningful identifier.

Reference no: EM13261450

Questions Cloud

Find the total electric potential at origin : two point charges are on the y axis. A 3.50 uc charge is located at y=1.1cm, and a -2.16 uc charge at y=-1.4cm. find the total electric potential at origin in volts
What is the equivalent energy flow rate in megawatts : If gasoline has a 120,000 Btu/gal energy content, and an average tank fill up requires 15 gallons over a 5 minute period, what is the equivalent energy flow rate (or power) in Megawatts in chemical power flowing through the nozzle per fill up
Explain constant temperature not change the concentrations : In which of the following reactions would increasing pressure at constant temperature not change the concentrations of reactants and products, based on Le Ch telier's principle
Find the final speed of the space craft : A 20t space craft leaving the dock of a space stationmakes a 12s engine burn. find the final speed of the space craft with respect to the station
Calculate number of second for water balloon to hit the dean : Assume you are standing atop the Engineering Research Center, holding a ketchup-filled water balloon. The dean is walking by in a bright, clean white hat, soon to arrive right underneath your perch. And temptation strikes. And is irresistible.
What is the net present value : What is the net present value (NPV) of this decision if the cost of capital is 9%?
Find the angular velocities at the end of this time interval : The angular position of a point on the rim of a rotating wheel is given by ? = 7.68t - 5.13t2 + 1.73t3, where ? is in radians and t is in seconds. find the angular velocities at the end of this time interval
Explain the standard enthalpies of combustion for ethanol : The standard enthalpies of combustion for ethanol and dimethyl ether are -1367kJ mol-1 and -1460kJ mol-1, respectively, at 298K. what is delta U at 298K for the purposes below:
How much compound interest is earned on a deposit : How much compound interest is earned on a deposit of $3400 at 0.75% compounded daily for 30 days?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd