blob: fc2b6bb74222f3fea4037f290a9ef8574b25de3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Ex2_1 Page:28 (2014)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
nu = 100e+06; // Operational frequency of the source, Hz
P = 100e+03; // Power radiated by the source, W
E = h*nu; // Energy radiated by the source, J
n = P/E; // Number of quanta of energy per second
printf("\nThe number of photons emitted per second = %5.3e photons/s", n);
// Result
// The number of photons emitted per second = 1.509e+30 photons/s
|