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
What is one step taken when solving a computer software problem?
k0ka [10]
Properly scanning the computer and deleting any viruse. this is Answer

Some of the feedback I hear from new developers working on a programming problem revolves around uncertainty of where to start. You understand the problem, the logic, basics of the syntax, etc. If you see someone else’s code or have someone to guide you, you can follow along. But maybe you feel uncertain about doing it yourself and have trouble turning your thoughts into code at first even though you understand the syntax or logic. Here’s my process and some tips to tackling a sample problem that hopefully some of you may find helpful in your journey.
HOME







Some of the feedback I hear from new developers working on a programming problem revolves around uncertainty of where to start. You understand the problem, the logic, basics of the syntax, etc. If you see someone else’s code or have someone to guide you, you can follow along. But maybe you feel uncertain about doing it yourself and have trouble turning your thoughts into code at first even though you understand the syntax or logic. Here’s my process and some tips to tackling a sample problem that hopefully some of you may find helpful in your journey.


3 0
3 years ago
Read 2 more answers
A student has a ten-year-old desktop computer that she only uses for word processing, but she would like to start using it to pl
kondaur [170]

Answer:

1- Replace, 2- Upgrade

Explanation:

I just took the test Hopefully this helps you guys! :)

4 0
3 years ago
The themes gallery is located on the _____ ribbon tab
Mrac [35]
The themes gallery is located on the "design" ribbon tab
6 0
3 years ago
Read 2 more answers
JAVA- If you have an int as the actual parameters, will it change to fit the parameters if it requires a double, or will the cod
ivann1987 [24]

If you have only 1 method that is not overloaded, then you will not be able to call it with inappropriate parameter types, that is, if the initial type of the parameter is int, then it will not be able to get the double, float, and other values, because of this an error will occur.

For this, method overloading is created.

Method overloading is when you create methods with the same name, but only the content and parameters of the methods are/can-be completely different.

6 0
3 years ago
The processing of data in a computer involves the interplay between its various hardware components.
Ronch [10]

True.

Data processing involves the conversion of raw data and the flow of data through the Central Processing Unit and Memory to output devices. Each CPU in a computer contains two primary elements: the Arithmetic Logic Unit (ALU) and the control unit. The Arithmetic Logic Unit performs complex mathematical calculations and logical comparisons. On the other hand, the control unit accesses computer instructions, decodes them, and controls the flow of data in and out of the Memory, ALU, primary and secondary storage, and various other output devices.  


8 0
3 years ago
Other questions:
  • A _______ record is responsible for resolving an ip to a domain name.
    9·1 answer
  • 1)Ce procent de grasimi putem găsi in lapte ?
    10·1 answer
  • • The length of time between water level measurements/ control adjustments is DT. • If the water level drops to the bottom of th
    13·1 answer
  • A specialized security administrator responsible for performing systems development life cycle (SDLC) activities in the developm
    11·1 answer
  • BRAINLIEST You have a small company and want to keep your costs low, but it is important your employees share data. Which networ
    13·2 answers
  • Which of the following is not a key component of a structure?
    12·1 answer
  • All cells in row 2 through 5 are referred as 2:5 true or false
    10·1 answer
  • Which symbol is used for an assignment statement in a flowchart?
    13·1 answer
  • What facilitates the automation and management of business processes and controls the movement of work through the business proc
    9·1 answer
  • Drag the tiles to the correct boxes to complete the pairs.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!