Menu

[Solved]Following Table Shows Approximate Speed Sound Air Water Steel Medium Speed Air 1 100 Feet Q37247745

The following table shows the approximate speed of sound in air,water, and steel:

Medium Speed

Air 1,100 feet per second

Water 4,900 feet per second

Steel 16,400 feet per second

In Java, write a program that asks the user to enter “air”,“water”, or “steel”, and the distance that a sound wave will travelin the medium. The program should then display the amount of

time it will take.

You can calculate the amount of time it takes sound to travel inair with the following formula:

Time = Distance / 1,100

You can calculate the amount of time it takes sound to travel inwater with the following formula:

Time = Distance / 4,900

You can calculate the amount of time it takes sound to travel insteel with the following formula:

Time = Distance / 16,400

<i Safari File Edit View History Bookmarks Window Help 못令70% L: Q Mon 10:11 PM Inbox [1,104) -ayeells1@gmail.cam-G. Tapic: Fa

<i Safari File Edit View History Bookmarks Window Help 동令70% L: Q Mon 10:11 PM Inbox [1,104) -ayeells1@gmail.cam-G. Tapic: Fa

<i Safari File Edit View History Bookmarks Window Help 동令70% L: Q Mon 10:11 PM Inbox [1,104) -ayeells1@gmail.cam-G. Tapic: Fa

<i Safari File Edit View History Bookmarks Window Help 못令70% L: Q Mon 10:11 PM Inbox [1,104) -ayeells1@gmail.cam-G. Tapic: Farum-Discussian 1 Chapter 3 – Homework Assignment Hy.. Repl.it – FrenchDiligentLanscrvers Gct Homewark Hcp With Chegg S:udy Test Case 1 Standard Input igh schocl MIUsI pCC air ENTE 10000 ENTER Please enter the medium (air, water, or steel): An Please enter the distance (in feet): An Sound will travel 10,000.00 feet in air at a speed of 1,100.00 feet per second in 9.09 News seconds.An Test Case 2 Standard Input Mater ENTER 20000 ENTER Please enter the medium (air, water, or steel): Please enter the distance (in feet): An Sound will travel 20,000.00 feet in water at a speed of 4,900.00 feet per second in 4. 08 seconds.n Test Case 3 <i Safari File Edit View History Bookmarks Window Help 동令70% L: Q Mon 10:11 PM Inbox [1,104) -ayeells1@gmail.cam-G. Tapic: Farum-Discussian 1 rave Chapter a-Homework Assignment-Hy… Repl.it -FrenchDiligentLanscrvers Gct Homewark Hclp With Chegg S:udy eet per second in 4 ound Wl eet in water ata speed o 08 seconds.n Test Case 3 igh schocl MIUsI pCC Standard Input steeL ENTER 30000 ENTER News Please enter the medium (air, water, or steel): n Please enter the distance (in feet): An Sound will travel 30,000.00 feet in steel at a speed of 16,400.00 feet per second in 1 83 seconds.An Test Case 4 Standard Input Wood ENTER Please enter the medium (air, water, or steel): An Invalid medium.Nn Test Case 5 <i Safari File Edit View History Bookmarks Window Help 동令70% L: Q Mon 10:11 PM Inbox [1,104) -ayeells1@gmail.cam-G. Tapic: Farum-Discussian 1-Internations… Chapter 3 – Homework Assignment Hy.. Repl.it – FrenchDiligentLanscrvers Gct Homewark Hclp With Chegg S:udy Please enter the medium (air, water, or steel): n Please enter the distance (in feet)An Sound will travel 30,000.00 feet in steel at a speed of 16,400.00 feet per second in 1 83 seconds.n igh schocl MIUsI pCC Test Case4 Standard Input News Wood ENTER Please enter the medium (air, water, or steel) An Invalid medium. n Test Case 5 Standard Input MATEr ENTER -10000 ENTE Please enter the medium (air, water, or steel): An Please enter the distance (in feet):n Invalid distance.n

Expert Answer


Answer to The following table shows the approximate speed of sound in air, water, and steel: Medium Speed Air 1,100 feet per secon… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *