Bruce,
Take a look at the Newton’s Method iterations starting at each point. Some starting points can be ‘diabolical’.
What’s the function?
Regards,
John
--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Got it.In this screenshot, notice the difference:
… x, -0.499 indicates a lower bound for the search interval.
… x=-0.499 is an initial guess.
(I got this from the catalog syntax help)
So you are restricting the domain to exclude the only real root.
Still not sure why it returns 3 yet… stay tuned.
Regards,
John
Why x=3?
Looking at the graph of each side of the equation, I see that f2 and f3 get ‘close to each other’ near x=3. Since nSolve is looking for a numeric approximation to the equation and you’ve eliminated the -.5 value by restricting the domain, the next best guess is x=3 because the values do get closer together as you approach x=3 (even though they’re really ‘large negative’ numbers – see a table).
If you use the simplified form of the expression things go better:
…but I could be wrong! (I also don’t think it’s using Newton’s Method).
Lesson: understand the device J
Regards,
John