I would like to ask

How do you calculate a equivalent circuit or voltage when resistors and capacitors are put in series or parallel. All books have this dealing

*only*with resistors or

*only*with capacitors, but how about the mix??

I ask this because for example in the following circuit if Vcc =5V and the Potentiometer is 10K. And let's suppose the wiper is in the middle (voltage divider of 5K 5K) how can I calculate the voltage at OUT???

I usually make mistakes calculating but at least I know the theory that the resistance in the potentiometer (the 5K) and the other resistance 1M are in parallel so they can be replaced by only one resistance. But then what do I do with the capacitor??!

If someone can teach me this I will be greatly appreciated.

Kansai