finding fluid flow with Numerical Method

For fluid flow in pipes, friction is described by a dimensionless number, the Fanning friction factor (f). The Fanning friction factor is dependent on a number of parameters related to the size of the pipe and the fluid, which all can be represented by another dimensionless quantity, the Reynolds number (Re). A formula that predicts f given Re for turbulent flow is the von Karman equation,

1/sqrt(f) = 1.74* ln ( Re* sqrt(f)) - 0.4

Typical values for the Reynolds number for turbulent flow are 10 000 to 500 000 and for the Fanning friction factor are 0.001 to 0.01. For Reynolds numbers less than 2500 fluid flow type is called laminar flow and the Fanning friction factor is given by f = 16/Re. Use a numerical method to determine the friction factor for Re = 10 000 within 5% relative error.

how can i solve this problem?