1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//chapter6,Example6_9,pg 123 n=1.4*10^24 ni=1.4*10^19 Nd=n p=(ni^2)/Nd nbyp=n/p printf("electron-hole concentration ratio\n") disp(nbyp)