Question: 6. Write a computer program to compute flow properties across a normal shock. Your code should take as input upstream values of Mach number (M),

6. Write a computer program to compute flow properties across a normal shock. Your code should take as input upstream values of Mach number (M), pressure (pi), density (P temperature (T), and total pressure (Pn). The output values downstream of the shock should be as shown in Fig. 1 : Pr2 1.5 2.5 Figure1: You need to generate a plot like this using your own code Validate using M, = 2, M2 = 0.5774, P2 = 4,5, 2/P1 = 2.667. TIT, = 1.687, ptalpt,-0.7209
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
