View Single Post
  #15 (permalink)  
Old 06-16-2008, 09:02 PM
rroach02 rroach02 is offline
Registered User
 
Join Date: Jun 2008
Posts: 2
re: excellent approximation

The approximation will indeed be excellent if one uses the correct power on the second term (dang, mis-typed). The correct form is:

f = 0.0079284 + 0.5966*Re^(-0.35703) + 6.3776*Re^(-1.07109)

Profuse apologies. If anyone wishes to have the code for the Newton solver (I chickened out on the analytic derivative and used a finite difference which works just as well) I will be pleased to post it. The original is in QuickBasic, but it is quite short and obvious.
Reply With Quote