Lesson 5 of 15
Sound Intensity
Intensity of a Point Source
A speaker radiates power P (watts) equally in all directions. At distance r, that power is spread over a sphere of surface area :
I = rac{P}{4pi r^2}
- I — intensity (W/m²)
- P — acoustic power (W)
- r — distance from source (m)
Inverse-Square Law
Doubling the distance quarters the intensity — the same dependence as gravity and light. This is why outdoor concerts sound quiet from far away.
| P (W) | r (m) | I (W/m²) |
|---|---|---|
| 1 | 1 | 0.0796 |
| 100 | 10 | 0.0796 |
| 1 | 2 | 0.0199 |
| 4 | 1 | 0.3183 |
Your Task
Implement soundIntensity(P, r) returning intensity in W/m².
Web Audio API loading...
Loading...
Click "Run" to execute your code.