From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 623/CH27/EX5.5.11/U5_C5_11.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 623/CH27/EX5.5.11/U5_C5_11.sce (limited to '623/CH27/EX5.5.11/U5_C5_11.sce') 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)); -- cgit