blob: 8b3a2d31abb6b687f740ceec1c6050d8337a8633 (
plain)
1
2
3
4
5
6
7
8
|
clc;
Rd=10; //Ohm
C1=0.000001; //Farad
RL=10000; //Ohm
Tc=5*(Rd*C1);
Td=5*(RL*C1);
disp('seconds',Tc,"Tc=");//The answers vary due to round off error
disp('seconds',Td,"Td=");//The answers vary due to round off error
|