summaryrefslogtreecommitdiff
path: root/3754/CH28/EX28.1/28_1.sce
blob: 3e6b05039319d6f1b42441e5184375fcce71c6c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables

L = 150.0 * 10**-6          //Inductance (in Henry)
C = 100.0 * 10**-12         //Capacitance (in Farad)

//Calculation

fo = 0.159 / (L * C)**0.5   //Resonant frequency (in Hertz)

//Result

printf("\n The resonant frequency is  %0.1f  MHz.",fo * 10**-6)