summaryrefslogtreecommitdiff
path: root/3020/CH15/EX15.1/ex15_1.sce
blob: 50d8eb32a2d51992b70f4acf9693585c93860312 (plain)
1
2
3
4
5
6
7
clc;
clear all;
Eg = 1.8*1.609e-19; // Bandwidth of given LED
h = 6.626e-34; // Planck's Constant
c = 3e8;
lambda = ((h*c)/Eg)*1e6;
disp('um',lambda,'The wavelength of light emitted from LED is')