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

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