1 2 3 4 5 6 7 8 9 10 11 12 13
//chapter6,Example6_19,pg 148 Ie=1*10^-3 Ib=0.04*10^-3 Ic=Ie-Ib alpha=Ic/Ie printf("current gain\n") printf("alpha=%.2f",alpha)