blob: fe75e7a8a85f9409a5c323a413bd4a9dacf22364 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Example 2.3
//computation of number of photons per second emitted by lamp//
// Page no. 46
clc;
clear;
close;
//Given data
lambda=2537;//wavelength of absorbed photon//
//Calculation for total energy of absorbed photon//
E=(12400/lambda);
//Calculation for radiated power//
P_radiated=(0.05/(1.60*10^-19));
//Calculation for number of photons per second//
photon=(P_radiated/E);
//Displaying the result in command window
printf('\n Total energy per photon = %0.2f eV/photon',E);
printf('\n \n Radiated Power = %0.2f x 10^17 eV/sec',P_radiated*10^-17);
printf('\n \n The number of photons per second = %0.2f x 10^16 photons/second',photon*10^-16);
//The answers vary due to roundoff error//
|