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 --- 494/CH9/EX9.5/9_5.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 494/CH9/EX9.5/9_5.sce (limited to '494/CH9/EX9.5') diff --git a/494/CH9/EX9.5/9_5.sce b/494/CH9/EX9.5/9_5.sce new file mode 100755 index 000000000..7f30745de --- /dev/null +++ b/494/CH9/EX9.5/9_5.sce @@ -0,0 +1,26 @@ +//All the quantities are expressed in SI units + +M1 = 3; +b = 40*%pi/180; + +//for case 1, for M = 3, from Appendix B, we have +p0_ratio_case1 = 0.3283; + +//for case 2 +Mn_1 = M1*sin(b); + +//from Appendix B +p0_ratio1 = 0.7535; +Mn_2 = 0.588; + +//from fig. 9.9, for M1 = 3 and beta = 40, we have +theta = 22*%pi/180; +M2 = Mn_2/sin(b-theta); + +//from appendix B for M = 1.9; we have +p0_ratio2 = 0.7674; +p0_ratio_case2 = p0_ratio1*p0_ratio2; + +ratio = p0_ratio_case2/p0_ratio_case1; + +printf("\nRESULTS\n---------\n Ans = %1.2f\n",ratio) \ No newline at end of file -- cgit