Question: numrical Use any programming language to solve the following questions: Problem 1: Consider isentropic supersonic flow around a sharp expansion comer. The relationship between the

Use any programming language to solve the following questions: Problem 1: Consider isentropic supersonic flow around a sharp expansion comer. The relationship between the Mach number before the comer (i.e., MI) and after the comer (i.c.. M2), derived by Zuerow and Hoffman, is given by: (M M- 1/2 -tan 8= bz tan- -(13-4)") - ((tan-"(M$ 1)") - (tan-(M3 1)*) b (y +1) (x - 1) where y is the specific heat ratio of the gas and equals to 1.4. Use the false-position method to find the value of M, when M, -1.5 and 8 = 10 degree. Problem 2: Find the intersection point of the following functions, using Newton-Raphson method: 0.512 f(x,y) = (x - 1)? + 12(x,y) = x -2./xy Note: Your program should allow the use of any interval or starting points. However, it should indicate if the interval is valid (for Bracketing method) or if the function diverges for the given starting point for open domain methods). Use any programming language to solve the following questions: Problem 1: Consider isentropic supersonic flow around a sharp expansion comer. The relationship between the Mach number before the comer (i.e., M) and after the comer (i.e., M), derived by Zucrow and Hoffman, is given by: where is the specific heat ratio of the gas and equals to 1.4. Use the false-position method to find the value of M, when M = 1.5 and Problem 2: Find the intersection point of the following functions, using Newton-Raphson method: Note: Your program should allow the use of any interval or starting points. However, it should indicate if the interval is valid (for Bracketing method) or if the function diverges for the given starting point (for open domain methods)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
