Description Usage Arguments Value Examples
Quadratic Formula
1 | quadratic_formula(a, b, c)
|
a |
coefficient of the square term in a quadratic (numeric) |
b |
coefficient of linear term in a quadratic (numeric) |
c |
constant term in quadretic (numeric) |
the roots of the quadratic, numeric if repeated roots, vector of numerics if distinct real roots, vector of (class) complex objects if imaginary roots
1 2 3 | quadratic_formula(2, -12, 18)
quadratic_formula(1, -5, 6)
quadratic_formula(2, -2, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.