Hello
here is my circuit design and simulation settings **broken link removed** **broken link removed**
but it doesn't show me the right answer. **broken link removed**
Hello and Thanks for your replay
As I know the capacitor voltage should be same as here **broken link removed**
it because of capacitor tries to be charge to max value of input volatge not exactly the same as input voltage
I believe the non-infinity Roff of the switch causes the problem. Most simply, you'll check the "skip initial transient solution" option to overcome the problem.