syms iL(t) tau R1 A w t

%

Vs = A * sin(w * t)

%

ode = tau * diff(iL, t) + iL == Vs / R1

%

DiL = diff(iL, t)
dsolve(ode, DiL(0)==0)