relation between amplitude and frequency code example Example: relation between amplitude and loudness loudness = amplitude²