blob: 703bd9110ea030ace66320e9e4c50e95067e9fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 6_5
clc();
clear;
//To find the wavelength of the radiation emitted
h=6.63*10^-34
c=3*10^8
kb=1.38*10^-23
T=300
lamda=(h*c)/(kb*T) //units in microns
lamda=lamda*10^6 //units in micro meters
printf("The wavelength of the radiation emmitted is lamda=%.2f um",lamda)
|