summaryrefslogtreecommitdiff
path: root/1199/CH2/EX2.54/2_54.sci
blob: cedd56392066c876961f5b9d508f0ccdb56e3f2f (plain)
1
2
3
4
5
6
7
8
// 2.54
clc;
disp('Let T=1');
T=1;
el=0.95;
tc=-T/log(el);
printf("Time constant =%.2f s",tc)
disp('as T=1 so time constant should be approximately equal to 20T')