summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.4/34_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH34/EX34.4/34_4.sce')
-rw-r--r--1427/CH34/EX34.4/34_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH34/EX34.4/34_4.sce b/1427/CH34/EX34.4/34_4.sce
new file mode 100644
index 000000000..f596e9cea
--- /dev/null
+++ b/1427/CH34/EX34.4/34_4.sce
@@ -0,0 +1,9 @@
+//ques-34.4
+//Calculating wavelength and frequency and wave number of light
+clc
+E=30;//energy (in kcal/mol)
+E=E*4.184;//(in kJ/mol)
+f=E/(6.023*10^23*6.626*10^-34);
+w=(3*10^8)/f;
+wn=1/w;
+printf("The energy is %.1f kJ/mol, wavelength is %.0f nm, frequency is %.3f*10^14 Hz and %.2f*10^-8 /m.",E,w*10^6,f*10^-11,wn);