diff options
Diffstat (limited to '1448/CH19')
-rwxr-xr-x | 1448/CH19/EX19.2.i/I19_2.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1448/CH19/EX19.2.i/I19_2.sce b/1448/CH19/EX19.2.i/I19_2.sce new file mode 100755 index 000000000..fedf9a136 --- /dev/null +++ b/1448/CH19/EX19.2.i/I19_2.sce @@ -0,0 +1,13 @@ +clc
+//Initialization of variables
+A=5.1 //Hz
+B=-1.4 //Hz
+C=3.2 //Hz
+an1=120 //degrees
+an2=180 //degrees
+//calculations
+j1=A+B*cosd(an1) + C*cosd(2*an1)
+j2=A+B*cosd(an2) + C*cosd(2*an2)
+//results
+printf("Spin-spin coupling constant = %d Hz",j1)
+printf("\n Spin-spin coupling constant = %d Hz",j2+1)
|