Ask 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 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

+5
Answers (1)
  1. 9 February, 01:26
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers