summaryrefslogtreecommitdiff
path: root/3636/CH7/EX7.5/Ex7_5.sce
blob: 0c7c9436ae3bd4f4bd44cfee8cd743bb716ca38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear;
xGe=4.13  //in eV
xGaAs=4.07 //in eV
Eg_Ge=0.7 //in eV
Eg_GaAs=1.45 //in eV

//Calculation
delE_c=xGe-xGaAs
delE_v=(Eg_GaAs-Eg_Ge)-delE_c

mprintf("Conduction band= %1.2f eV\n",delE_c)
mprintf("Valence band= %1.2f eV",delE_v)