summaryrefslogtreecommitdiff
path: root/269/CH7/EX7.5/example5.sce
blob: 294376891fa908a984ce5e760bcecc604b6b6c5e (plain)
1
2
3
4
5
6
7
8
9
Syms t,s
disp('By KVL the current equation is')
disp('V/L*(1/s*(s+R/L))')
//by partial fraction method the expression is split as k0/s+k1/s+(R/L) 
//The values of k0=V/R and k1=-V/R
//taking inverse laplace
disp('inverse laplace is')
z=ilt('(V/R*s^0)/s-(V/R*s^0)/(s+(R/L))',s,t)
disp(z,"z(t)=")