summaryrefslogtreecommitdiff
path: root/1427/CH19/EX19.2/19_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH19/EX19.2/19_2.sce')
-rw-r--r--1427/CH19/EX19.2/19_2.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/1427/CH19/EX19.2/19_2.sce b/1427/CH19/EX19.2/19_2.sce
new file mode 100644
index 000000000..ed31af4e0
--- /dev/null
+++ b/1427/CH19/EX19.2/19_2.sce
@@ -0,0 +1,6 @@
+//ques-19.2
+//Calculating energy per photon for a radiation
+clc
+w=650;//wavelength (in pm)
+E=(6.626*10^-34*3*10^8)/(w*10^-12);
+printf("The energy per photon for the radiation is %.3f*10^-16 J.",E*10^16);