summaryrefslogtreecommitdiff
path: root/1061/CH8/EX8.18/Ex8_18.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1061/CH8/EX8.18/Ex8_18.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1061/CH8/EX8.18/Ex8_18.sce')
-rwxr-xr-x1061/CH8/EX8.18/Ex8_18.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1061/CH8/EX8.18/Ex8_18.sce b/1061/CH8/EX8.18/Ex8_18.sce
new file mode 100755
index 000000000..5f5e151f5
--- /dev/null
+++ b/1061/CH8/EX8.18/Ex8_18.sce
@@ -0,0 +1,13 @@
+//Ex:8.18
+clc;
+clear;
+close;
+y1=550*10^-3;// peak of eyes response in um
+y2=10.6;// standard wavelength in um
+y3=2.39;// predominant IR line of He-Ne laser in um
+E1=1.24/y1;// energy in electron volts
+E2=1.24/y2;// energy in electron volts
+E3=1.24/y3;// energy in electron volts
+printf("The energy =%f electron volts", E1);
+printf("\n The energy =%f electron volts", E2);
+printf("\n The energy =%f electron volts", E3); \ No newline at end of file