summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.3/34_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH34/EX34.3/34_3.sce')
-rw-r--r--1427/CH34/EX34.3/34_3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH34/EX34.3/34_3.sce b/1427/CH34/EX34.3/34_3.sce
new file mode 100644
index 000000000..05d4b2904
--- /dev/null
+++ b/1427/CH34/EX34.3/34_3.sce
@@ -0,0 +1,8 @@
+//ques-34.3
+//Calculating energy and frequency and wave number
+clc
+w=200;//wavelength (in nm)
+E=(6.023*10^23*6.625*10^-34*3*10^8)/(w*10^-9);
+f=(3*10^8)/(w*10^-9);
+wn=1/(w*10^-9);
+printf("The energy required is %.1f kJ/mol, frequency is %.1f*10^15 Hz and wave number is %d /cm.",E/1000,f*10^-15,wn/100);