summaryrefslogtreecommitdiff
path: root/1952/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1952/CH2/EX2.3/Ex2_3.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 '1952/CH2/EX2.3/Ex2_3.sce')
-rwxr-xr-x1952/CH2/EX2.3/Ex2_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1952/CH2/EX2.3/Ex2_3.sce b/1952/CH2/EX2.3/Ex2_3.sce
new file mode 100755
index 000000000..7173d56a1
--- /dev/null
+++ b/1952/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,10 @@
+// chapter 2 , Example2 3 , pg 53
+lam=632.8*10^-9//wavelength(in m)
+Em=3.147*10^-3*60//energy emitted per minute(in J/min)
+c=3*10^8//speed of light(in m/s)
+h=6.625*10^-34//plancks constant(in Js)
+n=c/lam //frequency of emitted photons(in Hz)
+E=h*n //energy of each photon(in J)
+N=Em/E //number of photons emitted per minute
+printf("Number of photons emitted per minute")
+disp(N)