How can I calculate the value of \$R\$ and \$C\$ for an AM envelope detection circuit.
Knowing that the carrier wave is \$20\mathrm{KHz}\$, \$1\mathrm{Vpp}\$ sine wave, and the message signal is a \$32\mathrm{Hz}\$, \$2\mathrm{Vpp}\$ triangular wave with a \$3\mathrm{V}\$ DC offset:
I used the low pass fillter equation (\$f_c=\frac{1}{2\pi R C}\$) to calculate \$R_1\$ and \$C_1\$ and it was fine ~100 duplicate. The result was this:
Is this the correct method to use?.