blob: e51d62f16431e1f3d70566698da7538a4dc772b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//computation of wavelength of a photon from energy
clear;
clc;
printf("\t Example 17.1\n");
E=498.7*10^3/(6.022*10^23);//energy in J/molecule
h=6.63*10^-34;//plancks constant, J s
v=E/h;//frequency of the photon, s^-1
lambda=3*10^8/v;//wavelength in m, since v*lambda=speed of light in vacuum
printf("\t the maximum wavelength of the photon which can dissociate an O2 molecule is : %4.0f nm\n",lambda*10^9);
//End
|