blob: 0feefa35083830af88991673840ff32f53006bda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
ni=1.5*10**16 ///m**3
a=5*10**28
b=10.0**6
//Calculation
Ne=a/b
nh=ni**2/Ne
//Result
printf("\n Number of Electrons is %0.3f /m**3",Ne)
printf("\n Number of holes is %0.3f *10**9 /m**3",nh*10**-9)
|