summaryrefslogtreecommitdiff
path: root/2825/CH21/EX21.3/Ex21_3.sce
blob: 74480c9819836b8c87997ffe17af45ffc08e70fd (plain)
1
2
3
4
5
6
7
8
9
10
//Ex21_3 Pg-1069
clc

disp("Refer to figure 21.12")
R2=20000 //timing resistor R2 in ohm
C=0.1*10^(-6) //capacitance in farad
tau=0.69 //time constant

tLOW=tau*(R2)*C //time output that will remain high
printf(" Time output = %.2f msec",tLOW*1e3)