summaryrefslogtreecommitdiff
path: root/2534/CH2/EX2.13/Ex2_13.sce
blob: 5f503f84cb68e0b08c7e1b9fe96ccc65f047a477 (plain)
1
2
3
4
5
6
7
8
9
//Ex2_13
clc
r = 5.0//rate of current change
vL = 50//induced voltage
L = vL/(r)
disp("diL/dt = "+string(r)+"A/s")//rate of current change 
disp("vL = "+string(vL)+"V")
disp("vL = L*(diL/dt)") 
disp("L = vL/(diL/dt) = "+string(L)+" Henry")//calculation for inductane