summaryrefslogtreecommitdiff
path: root/275/CH5/EX5.5.59/Ch5_5_59.sce
blob: bc55b4252332a7cd544dbbfc73153fc580d44c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
disp("Example 5.59")
printf("\n")
disp("calculate the value of L & C for a colpitts oscillator")
printf("Given\n")
//frequency of oscillation
f=40*10^3
LC=1/(4*(%pi)^2*f^2)
//select L
L=10*10^-3
//find C
C=1/(4*(%pi)^2*f^2*L)
//let C1=C2 so we get
C1=2*C
C2=C1
printf("The values of L=\t%f henry\nC1=\t%e farad\nC2=\t%e farad\n",L,C1,C2)