summaryrefslogtreecommitdiff
path: root/3769/CH13/EX13.34/Ex13_34.sce
blob: 239a221732a0c17cda447a6c008f0d3f849830b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//Given
C=100*10**-12                         //F
L=100*10**-6                           //H
Ev=10
R=100.0                                   //ohm

//Calculation
//
fr=1/(2*%pi*sqrt(L*C))
Iv=Ev/R
Vl=Iv*2*%pi*fr*L
Vc=Iv/(2.0*%pi*fr*C)

//Result
printf("\n (i) Resonant frequency is %0.2f  *10**6 HZ",fr*10**-6)
printf("\n (ii) Current at resonance is %0.3f  A", Iv)
printf("\n (iii) Voltage across L and C is %0.3f  V", Vc)