# Herbie web demo

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`, `sqr`
Squares and square roots
`cbrt`, `cube`
Cubes and cube roots
`exp`, `log`
Natural exponent and natural log
`expt`
Raising a value to an exponent (also called `pow`)
`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
`ceil`, `floor`, `rint`, `round`, `trunc`
Rounding functions
`erf`, `erfc`
Error function and complementary error function
`exp2`, `log2`, `log10`
Exponential base 2, log base 2, and log base 10
`fmod`, `remainder`
Mod and remainder functions
`j0`, `j1`, `y0`, `y1`
Bessel functions of the first and second kind
`tgamma`, `lgamma`
The gamma function and log gamma function
`fmin`, `fmax`
The min and max functions
`fdim`, `copysign`
The positive difference and copysign functions
`expm1`, `log1p`
The exponent of `x - 1` and the log of `1 + x`
`fma`, `hypot`, `logb`
The fma, hypotenuse (distance from origin), and logb functions
`PI`, `E`
The mathematical constants

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