hi.. i'm trying to write a matlab code that will iterate the mach value given a certain value for nu.(adsbygoogle = window.adsbygoogle || []).push({});

nu = sqrt((gamma +1)/(gamma -1))*atan(sqrt((gamma - 1)/(gamma +1)*(M^2-1)))-atan(sqrt(M^2-1))

this is the equation for the prandtl-meyer function, but how do i write it in matlab so that i can extract the value of nu for a given M value? sort of like the goal seak function in excel...

i would appreciate anyone's help!

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Prandtl-Meyer Function Iteration

**Physics Forums | Science Articles, Homework Help, Discussion**