Some examples for how you can enter functions:
- x^2
- 2sin(x)
- log(10000, sqrt(100))
- See here for more
There are several limitations to the Newton's Method, and these are reflected in this program too:
- Stops working with the iteration when f'(x) = 0 - This is why some initial values output NaN (not a
number)
- Doesn't work if a function doesn't have a root - Some functions output random values, or even something
like Infinity
- See here
for more