summaryrefslogtreecommitdiff
path: root/165/CH5/EX5.4/ex5_4.sce
blob: 8a67b1cc1b8916221b5d6f19ef5b732d4928db14 (plain)
1
2
3
4
5
6
7
8
//Example 5.4
clc;

Vin=2;        //Input Voltage
Vr=10;        //Reference Voltage
t1=2;         //given time
t2=Vin*t1/Vr; 
disp(t2,'Time Interval t2 is')