(Acoustics) The loudness of a sound is measured in units of decibels and is calculated as shown:…
(Acoustics) The loudness of a sound is measured in units of decibels and is calculated as shown:
10 LOG (SL/RL)
SL is the intensity of the sound being measured.
RL is a reference sound-intensity level.
Using this formula, write a C++ program that calculates and displays the decibel loudness of a busy street having a sound intensity of 10,000,000 RL. Verify your program’s result by doing a hand calculation. After verifying that your program is working correctly, use it to determine the sound level in decibels of the following sounds:
a. A whisper at sound intensity 200 RL
b. A rock band playing at sound intensity 1,000,000,000,000 RL
c. An airplane taking off at sound intensity 100,000,000,000,000 RL