from __future__ import division
R=20*10**3#
C=100*10**-12#
f=1/(1.38*R*C)#
print 'f=%0.2f kHZ'%(f*10**-3)
from __future__ import division
R1=2*10**3#
R2=20*10**3#
C1=0.01*10**-6#
C2=0.05*10**-6#
T=0.69*(R1*C1+R2*C2)
print 'T=%0.2f ms'%(T*10**3)
f=1/T#
print 'f=%0.2f kHZ'%(f*10**-3)
from __future__ import division
T1=1*10**-6#
f=100*10**3#
R1=10*10**3#
R2=10*10**3#
T=1/f#
C1=T1/(0.69*R1)#
print 'C1=%0.2f pF'%(C1*10**12)
T2=T-T1#
C2=T2/(0.69*R1)#
print 'C2=%0.2f pF'%(C2*10**12)
from __future__ import division
T2A=310*10**-6#
T2B=250*10**-6#
VCC=15#
IC=5*10**-3#
hFC=20#
RC=VCC/IC#
RC1=RC#
RC2=RC#
print "RC1=RC2=RC=",'RC=%0.2f ohm'%RC
hFE=hFC#
IBsat=IC/hFE#
IB=2*IBsat#
R=VCC/IB#
R1=R#
R2=R#
C1=T2A/(0.69*R1)#
print 'C1=%0.2f pF'%(C1*10**12)
C2=T2B/(0.69*R2)#
print 'C2=%0.2f pF'%(C2*10**12)
tao1=R1*C1#
print 'tao1=%0.2f microsec'%(tao1*10**6)
tao2=R2*C2#
print 'tao2=%0.2f microsec'%(tao2*10**6)
tao11=RC1*C1/2#
print 'tao11=%0.2f microsec'%(tao11*10**6)
tao12=RC2*C2/2#
print 'tao12=%0.2f microsec'%(tao12*10**6)
from __future__ import division
f=20*10**3#
T=1/f#
print 'T=%0.2f microsec'%(T*10**6)
from __future__ import division
f=100*10**(-3)#
T=(1/f)#
print 'T=%0.2f us'%(T)
tp=(1/T)#
print 'tp=%0.2f us'%tp
C1=0.001*10**(-6)#
R3=((5*10**(-6))/(0.69*C1))#
print 'R3=%0.2f kohm'%(R3*10**(-3))
from __future__ import division
RC=2*10**3#
R3=20*10**3#
rbb=200#
C1=1000*10**-12#
T=0.69*C1*R3#
print 'T=%0.2f microsec'%(T*10**6)
from __future__ import division
R1=2.2*10**3#
C1=0.01*10**-6#
tp=1.1*R1*C1#
print 'tp=%0.2f microS'%(tp*10**6)
from __future__ import division
tp=10*10**-6#
c=1000*10**-12#
R1=tp/(1.1*c)#
print 'R1=%0.2f kohm'%(R1*10**-3)
#t=(0:0.1:5*pi)'#
#plot2d1('onn',t,[squarewave(t,60)])#
from __future__ import division
R1=6.8*10**3#
R2=4.7*10**3#
C1=1000*10**-12#
t2=0.7*R2*C1#
print 't2=%0.2f microS'%(t2*10**6)
t1=0.7*(R1+R2)*C1#
print 't1=%0.2f microS'%(t1*10**6)
dc=(t1/(t1+t2))*100#
print 'dc=%0.2f %%'%dc
from __future__ import division
R1=27*10**3#
R2=56*10**3#
C1=0.01*10**-6#
t2=0.7*R2*C1#
t1=0.7*(R1+R2)*C1#
T=t1+t2#
f=1/T#
print 'f=%0.2f kHZ'%(f*10**-3)
#t=(0:0.1:6*pi)'#
#plot2d1('onn',t,[squarewave(t,60)])#
from __future__ import division
f=50*10**3#
dutyc=0.60#
C=0.0022*10**-6#
T=1/f#
t1=dutyc*T#
t2=T-t1#
R2=(t2)/(0.7*C)#
print 'R2=%0.2f kohm'%(R2*10**-3)
R1=(t1)/(0.7*C)-R2#
print 'R1=%0.2f kohm'%(R1*10**-3)