summaryrefslogtreecommitdiff
path: root/3701/CH2/EX2.2/Ex2_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3701/CH2/EX2.2/Ex2_2.sce')
-rw-r--r--3701/CH2/EX2.2/Ex2_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3701/CH2/EX2.2/Ex2_2.sce b/3701/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..27114c734
--- /dev/null
+++ b/3701/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,12 @@
+////Given
+E=40 //W
+lembda=6000*10**-10 //m
+h=6.63*10**-34 //Js
+c=3*10**8 //m/s
+
+//Calculation
+n=(E*lembda)/(h*c)
+
+//Result
+printf("\n Number of photons emitted per second are given by %0.2f *10**19",n*10**-19)
+printf("\nThe answers vary due to round off error")