summaryrefslogtreecommitdiff
path: root/3651/CH7/EX7.5/5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH7/EX7.5/5.sce')
-rw-r--r--3651/CH7/EX7.5/5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3651/CH7/EX7.5/5.sce b/3651/CH7/EX7.5/5.sce
new file mode 100644
index 000000000..8e1073ec2
--- /dev/null
+++ b/3651/CH7/EX7.5/5.sce
@@ -0,0 +1,9 @@
+
+//variable declaration
+W=1.55 //wavelength
+
+//Calculations
+E_g=(1.24)/W //Bandgap in eV
+
+//Result
+printf('Band gap = %0.3f eV \n',E_g) \ No newline at end of file