Can you help to write a MATLAB Code to compute oblique shock angles?

7 views (last 30 days)
  6 Comments
Torsten
Torsten on 8 Jun 2022
Edited: Torsten on 8 Jun 2022
If M1, gamma and theta are known, you can use the first equation to calculate beta. But you say you want to reach a given M2 by changing beta. You can't have both.
So again my question: what is given, what is unknown ?
Sam Chak
Sam Chak on 8 Jun 2022
Can you at least put a little bit more of finger efforts in typing out the three equations using the following?
Then, we can probably help you to compute the oblique shock angles. By the way, since you didn't mention what oblique shock angles, it is very natural for me to assume that those associated with the trigonometric functions are the angles. Also, where should I put 3.1 (I mean the Mach number)?
tan()
theta
cot()
beta
M1
^2
sin()
cos()
gamma
()/()
p1
p2
M2
sqrt

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!