A small learning experiment. How do I attenuate a 2 Vpp sine wave by 10 dB?
First let's calculate what the attenuated voltage should be:
Now for the circuit a simple voltage divider should suffice:
But what should the values for the resistors be? Let's use 1k for R1:
The simulation shows the value is correct!