diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1448/CH19 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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)
|