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
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started