Application for polynomial roots calculation.

The application does the job by supposing the roots of the derivative function are known.
This way, we can delimit the range where each possible root is in, and by applying Bolzano's theorem, we can find the zeroes.

It is not a very eficient way, as we must calculate al the derivatives of the polinomial, implying very high numbers (n!), that make the needed precision increase, making the computational complexity for high-degree polinomials poor.

But I have been able to make it work with a 40-degree polynomial, with two very proximal zeroes arround x=1000.
It needs a precision of arround 60 digits.

The problem comes with very-high degree polynomials.
The higher is the degree, the faster the execution time increases.

But for common examples, the application does the job well.

Features

  • java
  • math
  • BigDecimal

Project Samples

Project Activity

See All Activity >

Categories

Mathematics

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow polynomial-roots-calculation

polynomial-roots-calculation Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of polynomial-roots-calculation!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Languages

English

Intended Audience

Other Audience, Science/Research

User Interface

Command-line

Programming Language

Java

Related Categories

Java Mathematics Software

Registered

2023-08-05