lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Thank you all for your replies.

I decided to use one of the explicit estimations of the Colebrook equation.


On 30 April 2018 at 19:34, Dirk Laurie <> wrote:
2018-04-30 11:21 GMT+02:00 Hur Butun <>:

> Is there a symbolic equation solver / package in Lua?
> I am trying to solve the Colebrook equation (below)
> I saw that there are some simple equation solvers available online but I
> couldn't find anything to solve an equation of this kind.

As that website says, the equation can only be solved by iteration,
except, as Vladimir says, you admit the Lambert W function into your

The best, if not the only, package allowing you to program in Lua
while accessing a formidable array of scientific software packages is