summaryrefslogtreecommitdiff
path: root/3673/CH8/EX8.2/Ex8_2.sce
blob: c8468b37b1bebca57e5ac0c09ecf6da974409ba6 (plain)
1
2
3
4
5
6
7
8
//Example 8_2 page no:297
clc;
R=10;//resistance in ohm
L=0.5*10^-3//inductance in henry;
C=10*10^-6;//capacitance in farad;
f=1/(2*%pi*sqrt(L*C));
f=f/1000;//converting to killoHertz
disp(f,"the resonant frequency is (in kHz)");