Photons

PHOTONS in an Electromagnetic Wave using 

MATLAB code:

clear
clc
E=45000;       % J  the EMW energy
h=6.63e-34;    % Planck constant
v=4e6;         % frequency  of the EMW
n=E*(1/(h*v)); % no. of photons 
fprintf ('No. of photons  is  %18.12e photon \n',n)

Comments

Popular posts from this blog

Electric field computing

physics and computer

Notes on physics