Electronic – Simple RC circuit with diode question

diodesvoltage

I was trying to understand this circuit under DC conditions, but can someone explain to me why the voltage across the capacitor is 8.1 V? I can't seem to understand. This voltage however does go down to 4.2 V if I increase the simulation speed and wait for couple of seconds but how can it start of it at 8.1 V. Am I missing something?

Here is the circuit I drawn using falstad simulator.

enter image description here

Best Answer

Basically it's your simulator - it can't ever be higher than the 5V supply and 4.2 is pretty normal. Check that your initial conditions don't include some form of charge on the capacitor. Simulators can throw curved-balls sometimes and you did the right thing by asking.

By the way I think @pjc50 may have misread your voltage as being 9V not 5V - or maybe it's me - the picture isn't all that clear.