summaryrefslogtreecommitdiff
path: root/3537/CH6/EX6.3/Ex6_3.sce
blob: 8652782c8a1130130d06969b7de50065a41d3778 (plain)
1
2
3
4
5
6
7
8
9
//Example 6_3
clc();
clear;
//To calculate the wavelength of emission from GaAs
Eg=1.44*1.6*10^-19
h=6.626*10^-34
c=3*10^8
lamda=(h*c)/Eg
printf("Wavelength = %.10f",lamda)