summaryrefslogtreecommitdiff
path: root/226/CH16/EX16.6/example6_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH16/EX16.6/example6_sce.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 '226/CH16/EX16.6/example6_sce.sce')
-rwxr-xr-x226/CH16/EX16.6/example6_sce.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/226/CH16/EX16.6/example6_sce.sce b/226/CH16/EX16.6/example6_sce.sce
new file mode 100755
index 000000000..bc01035ed
--- /dev/null
+++ b/226/CH16/EX16.6/example6_sce.sce
@@ -0,0 +1,20 @@
+//chapter 16
+//example 16.6
+//page 686
+printf("\n")
+printf("given")
+rds=600;Vgs=1;Vd1=.7;f=100*10^3;
+disp("wien bridge ocillator")
+R4=560;
+R3=2*((R4*rds)/(R4+rds))
+I5=200*10^-6;Vo=6;
+R6=Vgs/I5
+R5=(Vo-(Vgs+Vd1))/I5
+disp(" C4 discharge voltage ")
+Vc=.1*Vgs
+disp("C4 discharge time")
+T=1/f
+Ic=I5;
+C4=(Ic*T)/Vc
+Xc3=rds/10//at oscillating frequency
+C3=1/(2*3.14*f*Xc3) \ No newline at end of file