I agree with Andy. The voltage in the inductor is always 0 V and therefore iL remains at 0 A. The solution of your instructor doesn't make any sense and it's probably for a different problem.

Electric current of inductor
Is there a Delphi equivalent to C#'s PropertyGrid? I want to implement something similar to the Object Inspector in RAD Studio.
