Question: Sound level L in units of decibel (d B ) is determined by L = 20 log10(p/p 0 ) where p is the sound pressure
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 × 10–6 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.
Step by Step Solution
3.43 Rating (153 Votes )
There are 3 Steps involved in it
ANSWER include include void ... View full answer
Get step-by-step solutions from verified subject matter experts
