summaryrefslogtreecommitdiff
path: root/3717/CH9/EX9.8/Ex9_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3717/CH9/EX9.8/Ex9_8.sce')
-rw-r--r--3717/CH9/EX9.8/Ex9_8.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3717/CH9/EX9.8/Ex9_8.sce b/3717/CH9/EX9.8/Ex9_8.sce
new file mode 100644
index 000000000..766ecb832
--- /dev/null
+++ b/3717/CH9/EX9.8/Ex9_8.sce
@@ -0,0 +1,13 @@
+// Ex9_8 Page:194 (2014)
+clc;clear;
+h = 6.626e-034; // Planck's constant, Js
+B0 = 1.65; // Magnetic field strength required to observe the NMR spectrum, T
+g_N = 5.585; // Nuclear g-factor
+mu_N = 5.0508e-027; // Nuclear magneton, J/T
+nu = g_N*mu_N*B0/h; // Operating frequency, Hz
+d_nu = 510e+06; // Frequency separation between protons in benzene and TMS, Hz
+delta = d_nu/nu; // Chemical shift in NMR spectrum, ppm
+printf("\nChemical shift in NMR spectrum = %4.2f ppm", delta);
+
+// Result
+// Chemical shift in NMR spectrum = 7.26 ppm \ No newline at end of file