Chapter12-The 555 timer

Ex1-pg220

In [1]:
##Ex:12.1
import math
C=100.*10**-9;
t_on=10.*10**-3;
R=(t_on/(1.1*C))/1000.;
print'%s %.2f %s'%("R= ",R," kohm");
R=  90.91  kohm

Ex2-pg220

In [1]:
##Ex:12.2
import math
C=100.*10**-6;
t_on=60.;
R=(t_on/(1.1*C))/1000.;
print'%s %.2f %s'%("R= ",R," kohm");
R=  545.45  kohm

Ex3-pg223

In [2]:
##Ex:12.3
import math
##R1=R2=R
prf=10.;
C=1.*10**-6;
R=0.48/(prf*C);
print'%s %.2f %s'%("R= ",R," ohm");
R=  48000.00  ohm

Ex4-pg223

In [3]:
##Ex:12.4
import math
prf=50.;
C=100*10**-9;
R=0.72/(prf*C);##in ohms
print'%s %.2f %s'%("R= ",R/1000," kohm");
R=  144.00  kohm