When beats are formed by two waves of frequencies n₁ and n₂, the amplitude varies with frequency equal to

A. n₁−n₂
B. 2(n₁−n₂)
C. (n₁−n₂)/2
D. (n₁+n₂)/2