from __future__ import division
Ic=10#
Vce=10#
hie=500#
hoe=10**-5#
hfe=100#
hre=10**-4#
gm=Ic/25#
print "gm=%0.2f"%gm,'ohm'
rbe=hfe/gm#
print "rbe=%0.2f"%rbe,'ohm'
rbb=hie-rbe#
print "rbb =",rbb
gbc=hre/rbe#
print "gbc=",gbc*10**7,'*10**-7'
rce=-1/((hoe-(1+hfe)*gbc))
print "rce=%0.2f"%(rce*10**-3),'kohm'