summaryrefslogtreecommitdiff
path: root/1133/CH4/EX4.16/Example4_16.sce
blob: 0f15c09a1b46c4f582bb9112c166804943d033cc (plain)
1
2
3
4
5
6
7
8
9
//Example 4.16.
clc
format(6)
disp("For a Hartley oscillator the frequency is given by,")
disp("  f = 1 / 2*pi*sqrt(L_eq*C)        where L_eq = L1+L2")
leq=20+5  // in mH
disp(leq,"Therefore,  L__eq(in mH) = 20+5 =")
f=(1/(2*%pi*sqrt(25*500*10^-15)))*10^-3  // in kHz
disp(f,"Therefore,  f(in kHz) =")