summaryrefslogtreecommitdiff
path: root/3665/CH8/EX8.9/Ex8_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH8/EX8.9/Ex8_9.sce')
-rw-r--r--3665/CH8/EX8.9/Ex8_9.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3665/CH8/EX8.9/Ex8_9.sce b/3665/CH8/EX8.9/Ex8_9.sce
new file mode 100644
index 000000000..31b7272a0
--- /dev/null
+++ b/3665/CH8/EX8.9/Ex8_9.sce
@@ -0,0 +1,19 @@
+clc//
+//
+//
+
+//Variable declaration
+x=0.6532;
+y=0.3010;
+T1=273+20; //temperature(K)
+T2=273+32; //temperature(K)
+k=8.616*10^-5;
+
+//Calculation
+dy=x-y;
+dx=(1/T1)-(1/T2);
+Eg=2*k*dy/dx; //energy band gap(eV)
+
+//Result
+printf("\n energy band gap is %0.3f eV",Eg)
+printf("\n answer varies due to rounding off errors")