But most importantly, this can't be applied to arbitrary computer functions that you can't have a closed formula for.
Also finding a library that does optimization where I can pass a function pointer is usually easy to find in any language.
Maybe I'm wrong, but as far as I'm concerned, I'll never use that service.