summaryrefslogtreecommitdiff
path: root/1853/CH4/EX4.17/Ex4_17.sce
blob: 1cafb3d282cdbc9ea997028d4a6dd13b9e747a5b (plain)
1
2
3
4
5
6
7
8
9

//write the time equation for voltage and current
Vrms=150
Vm=2*1.414*Vrms
f=50
L=0.2
X=2*3.14*f*L
Im=Vm/X
disp('current equation   i=212.132sin(314)t'  ,  'voltage equation v=3.376sin(314t-90)' , ' Im= '+string(Im)+ ' ')