mohammedadnan2307 / Polynomial-Solver

Polynomial Solver calculates roots, critical points, the area under the curve, and the length of a curve in an interval of any real polynomial. Also, it contains features to plot user-interactive graphs and tangents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polynomial-Solver

Polynomial Solver is a tool that can calculate real roots and critical points of any real polynomial of any degree, with other interesting features such as calculating the area under the curve, the length of a curve in an interval, and finding the equation of polynomial whose real roots are known.

Also, it contains features to plot interactive user graphs of the polynomial. You can check out this tool here, https://mohammedadnan2307.github.io/Polynomial-Solver/

Installation

npm i polynomial-solver

Calculate Roots

The input must be a simplified expression of a polynomial. The expression is written as a function of x, f(x). Expression must contain real values and exponents must be non-negative integers only.

1

Critical Points

Input conditions remains the same as mentioned above.

2

Generate Equation

Here, the input is the Real Roots seperated by comma between each value.

3

Curve Area

The input must be a simplified expression of a polynomial. The expression is written as a function of x, f(x). Expression must contain real values and exponents must be non-negative integers only. Value of lower limit and higher limit of the interval can be entered in the prompt.

4

Curve Length

Input conditions remains the same as mentioned above. Value of lower limit and higher limit of the interval can be entered in the prompt.

5

Show Tangents in Graph

Tangent button can be toggled to show/hide the tangent line and corresponding slope of the polynomial.

6

About

Polynomial Solver calculates roots, critical points, the area under the curve, and the length of a curve in an interval of any real polynomial. Also, it contains features to plot user-interactive graphs and tangents.


Languages

Language:JavaScript 62.2%Language:HTML 20.9%Language:CSS 16.9%