| solve_quadratic | R Documentation |
Just another practice function. returns roots in complex notation regardless of root form
solve_quadratic(a, b, c)
a |
the first coefficient in standard form |
b |
the second coefficient |
c |
the third coefficient |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.