Skip to content

leejy12/NewtonMethod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Newton's Method

Polynomial equation solver, using Newton's Method, written in C++

Usage

Here is an example.

./newtonmethod
Enter the degree of polynomial: 3
Enter 3 coefficients and a constant.
2 -1 -3 1
Enter starting value: 1.5
Solving 2x^3-x^2-3x+1=0 using Newton's method starting at x0 = 1.5
Result
x = 1.34067

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages