teo-101 / Equation-Calculator

Quadratic Equation Calculator JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Equation Calculator

• Description:

  A 2nd degree equation ( quadratic ) solver made using JavaScript.

• What is a Second Degree Equation:

A second degree equation is a mathematical phrase with a variable that is raised to the power of 2. Unlike a 1st degree equation, x will have two real values ( R ). The general form for a 2nd degree equation is:

ax2 + bx +c = 0

Where a, b and c are the coefficients for the equation and follow these rules:

a€R*   b€R   c€R

• The Discriminant:

The Discriminant is a expression represented by the Greek letter Delta ( Δ ) that shows which of the three cases apply for the equation:

Delta Δ > 0:

  If Δ is > than 0 => two distinct real roots ( x1,2 ).

Delta Δ = 0:

  If Δ is = to 0 => one distinct real root ( x1 = x2 ).

Delta Δ < 0:

  If Δ is negativ ( Δ < 0 ) => zero real roots ( ∅ ).

• The formula for calculating real roots:

About

Quadratic Equation Calculator JS


Languages

Language:CSS 37.6%Language:HTML 31.3%Language:JavaScript 31.0%