Enter a formula below, hit `Enter`, and Herbie will try to improve it.

To handle the high volume of requests, web requests are queued; there are 0 jobs in the queue right now. Web demo requests may also time out and cap the number of improvement iterations. To avoid these limitations, install Herbie on your own computer.

Please enter formulas asFPCoreexpressions, including the top-level `FPCore`

form, using only the following supported functions:

`+`

,`-`

,`*`

,`/`

,`abs`

- The usual arithmetic functions
`sqrt`

,`cbrt`

- Square and cube roots
`exp`

,`log`

- Natural exponent and natural log
`pow`

- Raising a value to a power
`sin`

,`cos`

,`tan`

- The trigonometric functions
`asin`

,`acos`

,`atan`

- The inverse trigonometric functions
`sinh`

,`cosh`

,`tanh`

- The hyperbolic trigonometric functions
`asinh`

,`acosh`

,`atanh`

- The inverse hyperbolic trigonometric functions
`erf`

,`erfc`

- Error function and complementary error function
`j0`

,`j1`

,`y0`

,`y1`

- Bessel functions of the first and second kind
`tgamma`

,`lgamma`

- The gamma function and log-gamma function
`min`

,`max`

- The min and max functions
`expm1`

,`log1p`

- The exponent of
`x - 1`

and the log of`1 + x`

`fma`

- The fused multiply-add, with the additive term last
`PI`

,`E`

- The mathematical constants

*Note*: all formulas submitted here are logged and made public. See what formulas other users submitted.