summaryrefslogtreecommitdiff
path: root/3769/CH13/EX13.33/Ex13_33.sce
blob: 372dcc8b01d027d85a59b8a7cc354687124600b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clear
//Given
Vr=65                        //V
R=100.0                         //ohm
Vl=204
f=50                        //Hz
Vc=415

//Calculation
//
Iv=Vr/R
Xl=Vl/Iv
L=Xl/(2*%pi*f)
Xc=Vc/Iv
C=1/(2*%pi*f*Xc)

//Result
printf("\n (i) Circuit current is %0.3f  A", Iv)
printf("\n (ii) Inductance is %0.0f  H",L)
printf("\n (iii) The value of capacitance is %0.0f  micro F",C*10**6)