summaryrefslogtreecommitdiff
path: root/2240/CH26/EX25.1/EX25_1.sce
blob: 79b441e9bb9a69d108b29860b749f17833995462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Grob's Basic Electronics 11e
// Chapter No. 25
// Example No. 25_1
clc; clear;
// Calculate the resonant frequency for an 8-H inductance and a 20-uF capacitance.

// Given data

L = 8;              // L=8 Henry
C = 20*10^-6;       // C=20 uFarad

fr = 1/(2*%pi*sqrt(L*C));
disp (fr,'The resonant frequency in Hertz')
disp ('Appox 12.6 Hertz')