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,194
Reaction score
686
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:
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...

Similar threads

Replies
0
Views
914
Replies
15
Views
3K
Replies
1
Views
2K
Replies
2
Views
1K
Replies
35
Views
7K
Replies
8
Views
2K
Replies
12
Views
4K