Im having trpuble writing this formula in C Can you help me
Im having trpuble writing this formula in C++. Can you help me out?
Velocity = squareroot 2k/(k - 1) middot p/rho [((P_T - P)/P + 1)^(k - 1)/k - 1]Solution
Hi, You can take help of my comutation in C++.
Please let me know in case of any issue.
double x = 2*k/(k-1);
double y = ((pt-p)/p + 1)
double z = pow(y, (k-1)/k);
velocity = sqrt(x*(p-r)*(z-1));
![Im having trpuble writing this formula in C++. Can you help me out? Velocity = squareroot 2k/(k - 1) middot p/rho [((P_T - P)/P + 1)^(k - 1)/k - 1]SolutionHi, Y Im having trpuble writing this formula in C++. Can you help me out? Velocity = squareroot 2k/(k - 1) middot p/rho [((P_T - P)/P + 1)^(k - 1)/k - 1]SolutionHi, Y](/WebImages/38/im-having-trpuble-writing-this-formula-in-c-can-you-help-me-1116981-1761593517-0.webp)