This preview shows page 1. Sign up to view the full content.
Unformatted text preview: es
outs1=obshk(1.4,M,theta,1); %%Store the physical quantities behind
...the first shock
%%Compute physical properties behind the reflected oblique shock
...use Mach number M2 as an input and this is accessed as the 4th element in
while(~isnan(outs2(5))) %%Is the pressure ratio behind the reflected shock
A real value?
M=M-dM; %%Increment the Mach number
%%Perform the oblique shock calculations once more
%%Display final value
disp(M) Using this code we find to be PROBLEM 4
We can determine the Mach number by using both the Rayleigh Pitot formula and the oblique shock
formulae. Guess the Mach Number M.
Determine the free stream static pressure using the Rayleigh-Pitot formula and the measured
pressure from the pitot probe.
( [ )
( ) [ The pressure ratio across the oblique shock is then With the Mach number and half wedge angle as the input, we can determine the pressure ratio
across the oblique shock using the obshk program.
() Increment M till differs from by a specified tolerance.
| | MATLAB CODE
M=1.000; %%Input Mach number
dM=0.01; %Mach Number...
View Full Document
This homework help was uploaded on 03/31/2014 for the course AAE 334 taught by Professor Collicott during the Spring '09 term at Purdue University-West Lafayette.
- Spring '09