summaryrefslogtreecommitdiff
path: root/275/CH5/EX5.5.59/Ch5_5_59.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /275/CH5/EX5.5.59/Ch5_5_59.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '275/CH5/EX5.5.59/Ch5_5_59.sce')
-rwxr-xr-x275/CH5/EX5.5.59/Ch5_5_59.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/275/CH5/EX5.5.59/Ch5_5_59.sce b/275/CH5/EX5.5.59/Ch5_5_59.sce
new file mode 100755
index 000000000..bc55b4252
--- /dev/null
+++ b/275/CH5/EX5.5.59/Ch5_5_59.sce
@@ -0,0 +1,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)