I was trying some simulations and tried the below circuit.
My question is, how is the below marked voltage negative (-3 V)?
I thought like, since there is a diode, there will be approximately 4.3 V across the capacitor and 0.7 V across the diode. Why is this not the case in the above circuit?