summaryrefslogtreecommitdiff
path: root/863/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /863/CH6/EX6.2/Ex6_2.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '863/CH6/EX6.2/Ex6_2.sce')
-rw-r--r--863/CH6/EX6.2/Ex6_2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/863/CH6/EX6.2/Ex6_2.sce b/863/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..bd32f25cc
--- /dev/null
+++ b/863/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,26 @@
+//Caption:Find circuit components for designing a schmitt trigger circuit
+//Ex6.2
+clc;
+clear;
+close;
+u=5//Upper trigger point voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+I=2//Collector current(in mA)
+hfe=100
+Vcc=12//Collector voltage(in volt)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+l=3//Lower trigger point voltage(in volts)
+Ve=u-Vbe
+Re=Ve/I
+Rc=(Vcc-Ve-Vce)/I
+i=I/10
+R2=u/i
+Ib2=I/hfe
+I2=u/i
+It=Ib2+i
+r=(Vcc-u)/It
+I1=l/R2
+Ie=(l-Vbe)/Re
+Rc1=Vcc-(I1*(r+R2))/Ie
+R1=r-Rc1
+disp(R1,R2,Rc1,Re,'Circuit components are Re,Rc1,R2,R1(in kilo ohm)=') \ No newline at end of file