summaryrefslogtreecommitdiff
path: root/3717/CH9/EX9.7/Ex9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3717/CH9/EX9.7/Ex9_7.sce')
-rw-r--r--3717/CH9/EX9.7/Ex9_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3717/CH9/EX9.7/Ex9_7.sce b/3717/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..3cf736b9a
--- /dev/null
+++ b/3717/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,11 @@
+// Ex9_7 Page:193 (2014)
+clc;clear;
+h = 6.626e-034; // Planck's constant, Js
+nu = 120e+06; // Operating frequency, Hz
+g_N = 5.585; // Nuclear g-factor
+mu_N = 5.0508e-027; // Nuclear magneton, J/T
+B0 = h*nu/(g_N*mu_N); // Magnetic field strength required to observe the NMR spectrum, T
+printf("\nThe magnetic field strength required to observe the NMR spectrum = %5.3f T", B0);
+
+// Result
+// The magnetic field strength required to observe the NMR spectrum = 2.819 T \ No newline at end of file