summaryrefslogtreecommitdiff
path: root/226/CH16/EX16.7/example7_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.7/example7_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.7/example7_sce.sce')
-rwxr-xr-x226/CH16/EX16.7/example7_sce.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/226/CH16/EX16.7/example7_sce.sce b/226/CH16/EX16.7/example7_sce.sce
new file mode 100755
index 000000000..89e7ab3f1
--- /dev/null
+++ b/226/CH16/EX16.7/example7_sce.sce
@@ -0,0 +1,17 @@
+//chapter 16
+//example 16.7
+//page 689
+printf("\n")
+printf("given")
+Vo=14;Vr3=.5;Ib=500*10^-9;f=1*10^3;
+disp("square wave generator")
+Vcc=Vo+1
+UTP=Vr3;LTP=UTP;
+I2=100*Ib;
+R3=Vr3/I2
+R2=(Vo-Vr3)/I2
+t=1/(2*f)
+V=UTP-(-LTP)
+C1=.1*10^-6;
+I1=(C1*V)/t
+R1=Vo/I1 \ No newline at end of file