Ask Question
22 July, 07:08

Write a program that ask the user to enter air water or Steele and the distance that a sound wave will travel in the medium the program should then display the amount of the time it will take you can calculate the amount of time it takes sound to travel in air with the following formula time = distance/1,100 you can calculate the amount of time it takes sound to travel in water with the following formula time = distance / 4,900 you can calculate the amount of time it takes sound to travel in steel with the following formula time = distance/16,400

+4
Answers (1)
  1. 22 July, 09:07
    0
    I am writing this program in python:

    1) distance = int (input ("Enter the distance that a sound wave will travel"))

    //In line one we are getting the user input

    / / Now it is time to calculate by using formula

    2) sound_to_travel_in_air_time = distance/1100

    3) sound_to_travel_in_water_time = distance/4900

    4) sound_to_travel_in_steel_time = distance/16400

    / / After calculating now it is the time to print their values on the console

    5) print ("Sound to travel in air time is: ", sound_to_travel_in_air_time)

    6) print ("Sound to travel in water time is: ", sound_to_travel_in_water_time)

    7) print ("Sound to travel in steel time is: ", sound_to_travel_in_steel_time)

    This is the complete program i hope you get the idea.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a program that ask the user to enter air water or Steele and the distance that a sound wave will travel in the medium the program ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers