summaryrefslogtreecommitdiff
path: root/2288/CH2/EX2.6.2/ex2_6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2288/CH2/EX2.6.2/ex2_6_2.sce')
-rwxr-xr-x2288/CH2/EX2.6.2/ex2_6_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2288/CH2/EX2.6.2/ex2_6_2.sce b/2288/CH2/EX2.6.2/ex2_6_2.sce
new file mode 100755
index 000000000..35e2c0965
--- /dev/null
+++ b/2288/CH2/EX2.6.2/ex2_6_2.sce
@@ -0,0 +1,13 @@
+// Exa 2.6.2
+clc;
+clear;
+close;
+// Given data
+E_g = 0.75;// in eV
+e = 1.6*10^-19;// in C
+h = 6.63*10^-34;// in J
+c = 3*10^8;// in m/s
+//Formula E_g = (h*c)/(lembda*e);
+lembda = (h*c)/(E_g*e);// in m
+lembda = lembda * 10^10;// in Å
+disp(lembda,"The wavelength in Å is");