summaryrefslogtreecommitdiff
path: root/165/CH5/EX5.3/ex5_3.sce
blob: 5cfb2e926867254fd3d81dce715ad41417343c19 (plain)
1
2
3
4
5
6
7
8
9
//Example 5.3
clc;

R=100*10^3;        //Given value of resistence
C=2*10^-6;         //Given value of Capacitor
Vin=2;             //Input Voltage
t=2;               //Given time
Vo=Vin*t/(R*C);    //Output Voltage after time t
disp(Vo,'Output Voltage')