summaryrefslogtreecommitdiff
path: root/1853/CH4/EX4.19/Ex4_19.sce
blob: f8beb6a992a0bd379eff7bc4e6912a09d3a937ae (plain)
1
2
3
4
5
6
7
8

//determine the value of capacitance nd current
Xc=25
V=200
f=50
C=1/(2*%pi*f*Xc)
I=V/Xc
disp('the value of capacitance ='+string(C)+'farad', 'the value of current='+string(I)+'amps')