blob: c6a433625495c5e66d632c4867c7f83243d75438 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Exa 3.21.22
clc;
clear;
close;
// Given data
h = 6.64 * 10^-34;// in J-s
e= 1.6*10^-19;// electron charge in C
c= 3 * 10^8;// in m/s
lembda = 0.87;// in µm
lembda = lembda * 10^-6;// in m
E_g = (h * c)/lembda;// in J-s
E_g= E_g/e;// in eV
disp(E_g,"The band gap of the material in eV is");
|