summaryrefslogtreecommitdiff
path: root/3636/CH7/EX7.5/Ex7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH7/EX7.5/Ex7_5.sce')
-rw-r--r--3636/CH7/EX7.5/Ex7_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3636/CH7/EX7.5/Ex7_5.sce b/3636/CH7/EX7.5/Ex7_5.sce
new file mode 100644
index 000000000..0c7c9436a
--- /dev/null
+++ b/3636/CH7/EX7.5/Ex7_5.sce
@@ -0,0 +1,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)