summaryrefslogtreecommitdiff
path: root/3636/CH10/EX10.9/Ex10_9.sce
blob: 709028d7e050d2163d77fdd26b1a795b1499bf54 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
clear;
Eg=1.43 //Energy band gap in eV
h=4.14*10^-15 //planck's constant in eV/s
c=3*10^8 //in m/s

//Calculation
lamda=(h*c)/Eg

format("v",8)
disp(lamda,"Wavelength (m)= ") //The answers vary due to round off error