Question: 2 . ( 1 0 pts ) Calculates the speed of a tsunami in meters per second according to the formula where and = 2
pts Calculates the speed of a tsunami in meters per second according to the
formula
where and is the depth of the ocean in meters and assigns the
result to the variable velTsunami.
points Create an external function MpsToKmphm for ms to kmh conversion,
that takes an input argument in ms and outputs a value in kmh
a pts Calculate the wave speed of the tsunami in kmh using your external
function MpsToKmphm and print the speed in kmh using the disp function.
b pts Calculate how far, in km the wave will travel in hours, hours, hours.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
