summaryrefslogtreecommitdiff
path: root/3517/CH6/EX6.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3517/CH6/EX6.5
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 '3517/CH6/EX6.5')
-rw-r--r--3517/CH6/EX6.5/Ex6_5.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/3517/CH6/EX6.5/Ex6_5.sce b/3517/CH6/EX6.5/Ex6_5.sce
new file mode 100644
index 000000000..bcf401517
--- /dev/null
+++ b/3517/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,27 @@
+//Caption:Design Schmitt circuit components R1,R2,R3,R4 and R5
+//Ex6.5
+clc;
+clear;
+close;
+u=3//Upper trigger voltage(in volts)
+Ib=500//Max base current(in nA)
+Vf=0.7//Forward diode voltage(in volts)
+Vk1=-2//Voltage(in volts)
+Vcc=15//Collector voltage(in volts)
+Vk2=-Vk1
+i=Ib*0.1
+R2=u*1000/i
+I=u/R2
+Vo=Vcc-1
+Vr1=Vo-u
+R1=Vr1/I
+I4=100*i
+Va1=Vk1+Vf
+Vee=-Vcc
+V4=Va1-Vee
+R4=V4*1000/I4
+Va2=Vk2+Vf
+V5=Va2-Va1
+R5=V5*1000/I4
+R3=(Vcc-Va2)*1000/I4
+disp(R5,R4,R3,R2,R1,'R1,R2,R3,R4,R5(in kilo ohm)=') \ No newline at end of file