1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
laila [671]
3 years ago
6

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
Computers and Technology
1 answer:
blsea [12.9K]3 years ago
4 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.

You might be interested in
Polymorphism means ______________.
Westkost [7]

Answer:

Polymorphism means that a variable of supertype can refer to a subtype object.

Explanation:

For example, in Python programming language, a function that accepts an iterable object uses the concept of polymorphism because that function can accept strings, lists, tuples as arguments.

5 0
3 years ago
Read 2 more answers
What is the newest iphone?
OlgaM077 [116]

xR max is the newest iPhone out right now

7 0
3 years ago
Read 2 more answers
Define the following functions related to spreadsheet:<br> a.Consolidate<br> b.Subtotal
Vikki [24]

Answer:

B I hope I'm right sorry if I'm wrong

4 0
3 years ago
The point of (18 ,0) lies on​
zysi [14]
This point lies on the x value
4 0
3 years ago
Read 2 more answers
Does any one know how to code? If you do can you help me with my project?
fomenos

Answer:

kinda look it up!!!

Explanation:

go to code.org free coding

4 0
3 years ago
Read 2 more answers
Other questions:
  • Although the battery on your smartphone is fully charged, it drains quickly. In some instances when the phone shows that the bat
    12·1 answer
  • Rubbing two sticks together to make a fire is an example what
    11·2 answers
  • Andrea needs to format the legend on her chart. She clicks on the chart to select it. Which of the
    13·1 answer
  • Select the correct answer.
    13·1 answer
  • Hurry please
    12·1 answer
  • technician is dispatched to troubleshoot a user's computer. After performing diagnostics, the technician determines that drive t
    5·1 answer
  • WILL GIVE BRAINLIEST!!!!!
    8·1 answer
  • Choose the missing method name.
    7·1 answer
  • I need the full code for 6.1.3 code hs circles and squares please answer please help
    12·1 answer
  • Think of some local businesses that have websites. Look online and identify two different websites for businesses or services in
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!