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 /623/CH27/EX5.5.11/U5_C5_11.sce | |
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 '623/CH27/EX5.5.11/U5_C5_11.sce')
-rwxr-xr-x | 623/CH27/EX5.5.11/U5_C5_11.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/623/CH27/EX5.5.11/U5_C5_11.sce b/623/CH27/EX5.5.11/U5_C5_11.sce new file mode 100755 index 000000000..c71463c42 --- /dev/null +++ b/623/CH27/EX5.5.11/U5_C5_11.sce @@ -0,0 +1,10 @@ +//variable initialization
+v1=214330 //fundamental band for CO molecule (m-1)
+v2=425970 //first overtone for CO molecule (m-1)
+A=[1 -2;2 -6]; //coefficient matrix
+b=[v1;v2]; //right hand side matrix
+
+//calculation
+x=inv(A)*b; //values of omega and x*omega (m-1)
+
+printf("\nωe = %.0f m-1\nxe*ωe = %.0f m-1",x(1),x(2));
|