1 2 3 4 5
ie=6; ib=120*10^(-3); ic=ie-ib; alpha=ic/ie; disp("the alpha of the transistor is"); disp(alpha);