blob: 338da18e6c036a21ad1a3ab614a42f6c9cfe1691 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 5.1
clc;
R=100*10^3; //Given value of resistence
C=1*10^-6; //Given value of Capacitor
Vin=1; //Input Voltage
t=1; //Given time
Vo=Vin*t/(R*C); //Output Voltage after time t
disp(Vo,'Output Voltage')
|