blob: d023ef08e41d908438ba415d0ea35f28cf2a5c2c (
plain)
1
2
3
4
5
6
7
8
9
|
//Given that
Egap = 1.9 //in eV
//Sample Problem 42-7
pt = mopen('Example42_7_result.txt', 'wt')
mfprintf(pt, '**Sample Problem 42-7**\n')
lambada = 1242/Egap
mfprintf(pt, 'The wavelength emitted is equal to %dnm', lambada)
mclose(pt)
|