Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

PROGRAM TO SOLVE

Status
Not open for further replies.

kunletee

Mechanical
Nov 9, 2006
10

Dear all,
I am having difficulty in solving this problem in c++.
1/sqrt(f)=2*log10(Re*sqrt(f))/2.51
It is required to calculate f. Re is given as 128592.72.

Thanks.

Kunletee
 
Replies continue below

Recommended for you

Both sides are monotonous functions of F. Rearrange it:
0= 2*log10(Re*sqr(F))-2.51/sqr(F) ; Replace 0 with Y.

Select an arbitrary value for F and calculate Y
Change it with dF and recalculate. Put a straight line
across these two points - solve its zero xing.

Replace this into F and repeat until Y=0





Plesae read FAQ240-1032
My WEB: <
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor