//chapter-14,Example14_8,pg 511 VobyT=0.04//extrapolated bandgap voltage RE1byRE2=(1/2.2)//ratio of emitter resistances of Q1,Q2 kBbyq=0.86*10^3//kB->boltzman const., q->charge //(1+a)log(a)=(VobyT/RE1byRE2)*kBbyq, a->ratio of collector currents printf("ratio of collector currents\n") printf("a=23.094")