summaryrefslogtreecommitdiff
path: root/863/CH6/EX6.6/Ex6_6.sce
blob: e3afaca2962a456aab0c365d7e59dceb5874ca0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Caption:Design a non inverting schmitt trigger circuit
//Ex6.6
clc;
clear;
close;
Vcc=15//Collector voltage(in volts)
u=2//Upper trigger point(in volts)
Ib=500//Base current(in nA)
I2=Ib*0.1
Vo=Vcc-1
R2=Vo*1000/I2
i=Vo*1000/R2
R1=u*1000/i
disp(R2,R1,'Circuit components R1 and R2(in kilo ohm)=')