summaryrefslogtreecommitdiff
path: root/374/CH6/EX6.10/610.sci
diff options
context:
space:
mode:
Diffstat (limited to '374/CH6/EX6.10/610.sci')
-rw-r--r--374/CH6/EX6.10/610.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/374/CH6/EX6.10/610.sci b/374/CH6/EX6.10/610.sci
new file mode 100644
index 000000000..8f7d7a557
--- /dev/null
+++ b/374/CH6/EX6.10/610.sci
@@ -0,0 +1,9 @@
+//chapter 6 example 10//
+clc
+clear
+//plancks constant=h,speed of light=c,energy gay=Eg,critical wavelength=lc//
+h=6.62*(10^-34);
+c=3*(10^8);//in mts per sec//
+Eg=1.15*1.6*(10^-19);
+lc=((h*c)/Eg)*(10^9);
+printf("\n critical wavelength=%f nm\n",lc) \ No newline at end of file