blob: 371fc6329d60e4441132cbee4d457253b89e4b7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clear
//
//
//
//Variable declaration
c=3*10^8; //velocity of matter wave(m/s)
h=6.62*10^-34; //plank's constant(Js)
lamda=6*10^-7; //wavelength(m)
e=1.6*10^-19; //charge(coulomb)
k=8.6*10^-5;
T=300; //temperature(K)
//Calculation
E=h*c/(lamda*e); //energy(eV)
N=-E/(k*T); //population ratio
//Result
printf("\n population ratio is e^ %0.3f ",N)
|