summaryrefslogtreecommitdiff
path: root/3753/CH4/EX4.4/Ex4_4.sce
blob: 9f88698ef7141369ff2b9772854510abd42dd695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 4.4, Page number 4.33

clc;clear;close

// variable declaration
h=6.626*10**-34              // Planck constant 
C=3*10**8                    // Velocity of light
E_g=1.44                     // bandgap 

// calculations
lamda=(h*C)*10**10/(E_g*1.6*10**-19)       // Wavelenght

// Result
printf("Wavelength = %.f Angstrom",(lamda))