summaryrefslogtreecommitdiff
path: root/1427/CH35/EX35.2/35_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH35/EX35.2/35_2.sce')
-rw-r--r--1427/CH35/EX35.2/35_2.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH35/EX35.2/35_2.sce b/1427/CH35/EX35.2/35_2.sce
new file mode 100644
index 000000000..9793b1b4b
--- /dev/null
+++ b/1427/CH35/EX35.2/35_2.sce
@@ -0,0 +1,7 @@
+//ques-35.2
+//Calculating energy per mole of light
+clc
+w1=85; w2=300;//wavelengths (in nm)
+E1=(6.023*10^23*6.625*10^-34*3*10^8)/(w1*10^-9);
+E2=(6.023*10^23*6.625*10^-34*3*10^8)/(w2*10^-9);
+printf("The energy for 85 nm is %.0f kJ/mol and for 300 nm is %.0f kJ/mol.",E1/1000,E2/1000);