summaryrefslogtreecommitdiff
path: root/3547/CH3/EX3.5/Ex3_5.sce
blob: b3aa46603a52e5120bf06188807801a2b5fd6f23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Example no.3.5
// To calculate the frequency of the electromagnetic wave emitted by stimulated emission.
// Page no.110

clc;
clear;

// Given data
E=10^(-4);                                 // The energy difference between two levels in eV
E=10^(-4)*1.602*10^(-19);                  // The energy difference between two levels in J
h=1.054*10^(-34);                          // The distance between two levels

// The frequency of the electromagnetic wave emitted by stimulated emission.
f=(E/(2*%pi*h))*10^-9;                     // The frequency of the electromagnetic wave emitted by stimulated emission in GHz

// Displaying the result in command window
printf('\n The frequency of the electromagnetic wave emitted by stimulated emission = %0.0f GHz',f);