MHB Find the solution of f(x)=x^3+4x- 6=0

  • Thread starter Thread starter albert391212
  • Start date Start date
Click For Summary
The discussion focuses on solving the polynomial function f(x) = x^3 + 4x - 6 = 0 using Newton's method. The user initially encountered a mistake in their program but corrected it and used a seed value of 1, successfully finding the solution x = 1.1347. They confirm that this is the only solution to the equation. The conversation emphasizes the effectiveness of Newton's method for finding roots of polynomial functions.
albert391212
Messages
11
Reaction score
0
Please find the solution of polynomial function :
$$f(x)=x^3+4x- 6=0$$
I use Newton's method to solve it
and I also write a program (using excel) for help$$$$$$$$
 
Technology news on Phys.org
1650694997076.png
 
Albert391212 said:
https://www.physicsforums.com/attachments/11796
sorry I mistype the function in my program
I tried again using the correct function and put seed 1 , and get the answer x=1.1347
there is only one solution
x=1.1347
1650710371666.png
 
That's the correct solution. What is your question?

-Dan
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
3K
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K