Not homework but self study. I found this circuit online and it is the circuit for an LED lightbulb. I built it in Spice so I can see the voltages for myself and I'm surprised by what I found. V(n001) is the mains electricity and V(n002) is after R1 and C1 in parallel. I'm surprised that Spice says that there would be 240V between these two points and I'm wondering if this is actually correct. Furthermore, the voltages are the same at V(n005) (between D1 and D3). This would mean that one diode is taking 240V from the mains. If this was how the circuit was supposed to work then I would expect the mains to be connected directly in between D1 and D2. Since it is not, I'm assuming there is a mistake. Can anyone tell me if this is indeed incorrect or explain how these components take such voltages?