blob: 291775f1f063948e6a413cb77445c3e9a3be49e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
h=6.626*10**-34 //plancks constant(J s)
c=3*10**8 //velocity of light(m/s)
Eg=1.44*1.6*10**-19 //band gap(J)
//Calculation
lamda=h*c/Eg //wavelength of emission(m)
//Result
printf("\n wavelength of emission is %0.0f angstrom",lamda*10**10)
|