Question: PARTI (4 Marks): Apply the 5-steps Engineering Problem Solving Methodology and data flow diagram for solving the problem described in Part II below. PART II
PARTI (4 Marks): Apply the 5-steps Engineering Problem Solving Methodology and data flow diagram for solving the problem described in Part II below. PART II (15 Marks): A tsunami is a series of waves in a water body caused by the displacement of a large volume of water, generally in an ocean or a large lake. Earthquakes, volcanic eruptions and other underwater explosions have the potential to generate a tsunami. Tsunami wave speed (v) can be calculated by: V = Jam tan(213 Where 2 (m) is the wavelength d (m) is the water depth and g(m/s-1) is the acceleration of the gravity (g=9.8) Write a C++ program to calculate and display the Tsunami wave velocity. Your program should ask the user to enter 2 (m) and d (m) then display the result using 3 decimal places. Sample Output: Windows\system32\cmd.exe Tsunami Velocity Calculator Enter the depth of the wave in meters : 12.5 Enter the wavelength in meters : 400 Velocity : 11.14 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
