summaryrefslogtreecommitdiff
path: root/3717/CH9/EX9.7/Ex9_7.sce
blob: 3cf736b9ac6df34a6fa55448c161169f5cc102d3 (plain)
1
2
3
4
5
6
7
8
9
10
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