Using Part-Sim we can verify the response of this RL circuit, and our calculations for the initial, final, and the transition between those conditions. While analyzing this circuit’s response on paper and in Part-Sim, we must use the initial conditions (time and V) and component values. In Part-Sim setting up the switch is the hardest part; with the simulation requiring set up of a voltage controlled switch and AC source with a pulse to get the correct behavior in the circuit. Web based Part-Sim allows you to simulate and verify your calculations any time.
For more detail: RESPONSE OF A 1ST ORDER RL CIRCUIT