Inverting an equation.
이전 댓글 표시
Hello everyone,
I've got the following formula, with a/a* and gamma known.
a/a*=(1/m)*(2/(gamma+1))*(1+((gamma-1)/2)*m^2)^((gamma+1)/(2*(gamma-1)))
What I need are the corresponding Machnumbers M. I would like to write it in a script. Can anyone help me with this problem?
Many thanks!
답변 (1개)
Walter Roberson
2011년 6월 4일
0 개 추천
This does not have a simple solution. It involves finding the roots of an expression with one component of the root being taken to the power of 1/2 * (gamma+1)/(gamma-1) . Due to the form of the expression, you cannot simply use logs to transform the expression.
Effectively you will have to use fzero() to find the answer.
카테고리
도움말 센터 및 File Exchange에서 Switches and Breakers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!