B Just for fun: Cubic Graph Plot

Click For Summary
Desmos.com is highlighted as an effective online graphing tool for experimenting with the Newton-Raphson method, particularly in solving cubic equations. The discussion emphasizes the importance of accurately calculating x-intercepts and turning points on cubic graphs, suggesting that additional iterations may improve precision. A specific example is provided for finding square roots using the positive x-intercept of the function f(x)=x^2-a, with a comparison to a more accurate numeric value. Users are encouraged to explore the provided links for practical applications of these concepts. Overall, the thread showcases the utility of Desmos for mathematical experimentation and visualization.
neilparker62
Science Advisor
Homework Helper
Insights Author
Messages
1,197
Reaction score
689
TL;DR
Cubic Graph plot on Desmos
Desmos.com is a great online graphing utility which I'm sure is familiar to many PF users. I wanted to experiment with the Newton-Raphson method using it so chose solution of cubic graphs as an example. The graph shows a variable cubic on which all turning points and intercepts are calculated and shown. x-intercepts by Newton-Raphson.

I'm sure readers will find parameter values where the x-intercepts are not that accurate - in that case add a couple more "g(g(.." iterations!

https://www.desmos.com/calculator/lejtdd8fws
 
  • Like
Likes BvU and jim mcnamara
Mathematics news on Phys.org
Here's another use of Newton-Raphson whereby the square root of a number is determined by finding the positive x-intercept of ##f(x)=x^2-a##. The intercept is marked on the graph but the side panel shows a more accurate numeric value of the root against parameter d where ##d=\sqrt{a}##. The start value for determination of the square root is the square root of the nearest square greater than a.

https://www.desmos.com/calculator/qbyev8tuqz
 
Last edited:
I have been insisting to my statistics students that for probabilities, the rule is the number of significant figures is the number of digits past the leading zeros or leading nines. For example to give 4 significant figures for a probability: 0.000001234 and 0.99999991234 are the correct number of decimal places. That way the complementary probability can also be given to the same significant figures ( 0.999998766 and 0.00000008766 respectively). More generally if you have a value that...

Similar threads

  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
24K
  • · Replies 12 ·
Replies
12
Views
4K