summaryrefslogtreecommitdiff
path: root/2240/CH26/EX25.4/EX25_4.sce
blob: 988f735ba125e5692685398dcdf5faab275bdfbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Grob's Basic Electronics 11e
// Chapter No. 25
// Example No. 25_4
clc; clear;
// What value of L resonates with a 106-pF C at 1000 kHz, equal to 1 MHz?

// Given data

C = 106*10^-12;     // Capacitor=106 pFarad
fr = 1*10^6;        // Resonant frequency=1 MHertz

A = %pi*%pi;          // pi square
B = fr*fr;          // Resonant frequency square

C = 1/(4*A*B*C);
disp (C,'The value of Inductor in Henry')
disp ('i.e 239 uF')