Derivation of beat frequency formula

Derivation of beat frequency formula