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
exp, log
Natural exponent and natural log
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
The mathematical constants

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