If you're expecting to do this with just "resistors and capacitors", forget it. You'll need the world's biggest capacitor to do it. I suggest you look into using some type of pulse-width modulation scheme. If you are totally new to electronics, as I'm guessing you are, you will need to educate yourself a bit before tackling this problem.
The main issue here is that if you simply use an RC circuit, or even an RC controlling a pass-transistor, you will have to dissipate significant power across your device.