Getting an error, when trying to optimize(min) x^2 starting with x = 5.
This could be an issue with input format too.
The input format should be more clarified by updating the prompt message.
And it is always good to keep comment for at least one case, so that fellow developers can understand it easily.
Getting an error, when trying to optimize(min) x^2 starting with x = 5. This could be an issue with input format too.
The input format should be more clarified by updating the prompt message. And it is always good to keep comment for at least one case, so that fellow developers can understand it easily.