# how to solve the equation for M squared

this is the Area Mach equation and it can be solved for M square . It is a quadratic equation .
How do i solve for M^2 ?  I need to first bring it to a  ax^2 + bx + c

###### Who is Participating?

Commented:
It is solved numerically, so you either have to use the table or the Newton-Raphson method referenced in the answers above. There is no straight forward M = ...... solution for M.
0

Author Commented:
no , it is not , i am reading a manual and i am trying to figure out how he solved for Mach and found two solutions. He doesnt describe the mechanism. I am trying to plug some values but i am not getting the results i should be getting. So i am asking for any ideas.
0

Author Commented:
this equation is copy / paste from the glenn research center web site.
0

Commented:
This equation is NOT a quadratic in M.
it is
Constant = M^(-2/r) +(s/2)M^(-4/r)
where g = gamma, p = g + 1, s = g -1, and r = p/s
0

Commented:
I don't recognize the concept, the equation, or any of the variables (except for A).
I am not sure what a "solution" means in this case.

It would help if you provide a link to the actual document.  I tried searching for Area Mach Ratio and didn't get anywhere.

But there are really only two variables:  M and gamma.  If you know the range of each of the variable, you should be able to "solve" this numerically.
0

Commented:
Constant = M^(-2/r) +(s/2)M^(-4/r)
(s/2)(M^(-2/r))^2 + M^(-2/r) - Constant = 0
a=(s/2), b=1, c=-Constant, x=M^(-2/r)
but where did "Constant = M^(-2/r) +(s/2)M^(-4/r)" come from?

What was the basis for the statement that "It is a quadratic equation ."?
I can see a quadratic equation for some values of gamma, but not in general.
0

Commented:
Found a similar equation at http://www.dept.aoe.vt.edu/~devenpor/aoe3114/5%20-%20Area-Mach%20Number%20Relation.pdf , but the first M is not squared and there is a 2 in the denominator of the final exponent.
0

Commented:
That's probably because the A/A* is also not squared
0

Commented:
constant =( (p/2)(A/A^*)^(2/r) or some such thing.
The main point is that the equation in general is NOT quadratic in M.
-
if g = 0, the quadratic formula would not be needed. Just offhand I do not see any other values of g which would make it quadratic
0

Author Commented:
the text says : The formula can be expressed as M = M ( A/A*) which is a quadratic equation in M^2. The 2 solutions for A/A* >1 are real and correspond to subsonic and supersonic solutions and these values are tabulated in NACA 1135.
0

Author Commented:
0

Commented:
The text at http://www.grc.nasa.gov/WWW/winddocs/utilities/b4wind_guide/mach.html does not say that At / A = M { [ (γ+1) / 2 ] / [ 1 + ((γ−1) / 2) M2 ] }^(E/2)  is quadratic in M, but it does speak of a quadratic approximation to be used as a first step in an iterative solution.
0

Author Commented:
is there any online matlab or any other calculator that i can solve for M ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.