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

  • Thread starter Thread starter albert391212
  • Start date Start date
AI Thread 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
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top