Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Sound level L in units of decibel (dB) is determined by L = 20 log10(p/p0) where p is the sound pressure of the sound (in

Sound level L in units of decibel (dB) is determined by L = 20 log10(p/p0) where p is the sound pressure of the sound (in Pascals, abbreviated Pa), and p0 is a reference sound pressure equal to 20 106 Pa (where L is 0 dB). The following table gives descriptions for certain sound levels.

Threshold of pain 130 dB

Possible hearing damage 120 dB

Jack hammer at 1 m 100 dB

Traffic on a busy roadway at 10 m 90 dB

Normal conversation 60 dB

Calm library 30 dB

Light leaf rustling 0 dB

Write a program that reads a value and a unit, either dB or Pa, and then prints the closest description from the list above.

P.s Answer needs to be written in java

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students explore these related Databases questions