1:49 AM
Hello @Transistor Welcome here :-)
@Transistor hello. I just did that to make the scope of discussion in this room a bit broader. We'll talk about that question only.

8 hours later…
9:52 AM
Hii :) @Transistor
@Transistor I used the Circuit-lab simulator to generate a purely inductive AC circuit at 10 Hz AC but when I generated the plot, the voltage and the current started with a phase difference of $\pi/2$ even at t=0. That means we got a negative current due to back EMF even when applied voltage was 0
Could you please tell me how is that possible?

4 hours later…
2:13 PM
I think you should post that as a new question. Include your CircuitLab schematic and export the plots from CircuitLab and add those too. I suggested in the original comment that you add a time-delay contact between the signal generator and the circuit so that the simulator gives you a well-defined switch-on point and you can analyse the startup.

2:31 PM
@Transistor I'm totally new to electronics... could you please tell me how to add a time-delay contact if that's possible? I'll show you what plots I got.

2:47 PM
This is the link to my circuit. I just changed the parameters in "DC sweep" I didn't change anything else and here are the plots I got. The above one is the voltage and the below one is the current.

1 hour later…
3:50 PM
There is no link in your post. The time delay switch is the first symbol in the switches section.
You need to do a Time Domain simulation, not a DC sweep.

4:14 PM
@Transistor Thank you for telling. I set the trigger time to t=10s for the switch and ran the time domain simulation for a total of 30s.
@Transistor Here is my new circuit. And the plots generated are pretty much the same only the switch closes at t=10s. Here is the plot I got. Please have a look.
here is the new plot.

2 hours later…
6:48 PM
You need to zoom in on the area of interest. Since you're running at 10 Hz set the total simulation time to 1 s and the timer to 0.1 s so that you get the first ten cycles in high resolution. A Step Time of 0.01 or even 0.001 s should give you good enough resolution.
Note that if you ask an actual question with the CircuitLab schematic in it then readers can play with it and try out various options.

2 hours later…
8:27 PM
@Transistor Thanks a lot for your response.