solve_quadratic: Solve a Quadratic Equation

solve_quadraticR Documentation

Solve a Quadratic Equation

Description

Just another practice function. returns roots in complex notation regardless of root form

Usage

solve_quadratic(a, b, c)

Arguments

a

the first coefficient in standard form

b

the second coefficient

c

the third coefficient

Value

two roots either real or imaginary. They will be in complex form notation. Roots are real if the imaginary term is 0i. If one term is 0 + 0i then there is only one root.


McCartneyAC/mccrr documentation built on March 24, 2024, 5:12 p.m.