math_polyCoef | R Documentation |
Calculates the polynomial coefficients from a polynomial equation
. The variable var
can be chosen.
The order of the terms does not matter.
math_polyCoef(equation, variable = "x")
equation |
polynomial equation string |
variable |
variable of the polynomial equation |
vector with polynomial coefficients.
Florian Wagner florian.wagner@wagnius.ch
"-20*x + 4*x^2 + 5*x^3 + x^4"|>math_polyCoef()
"4*x^2 - 20*x + 5*x^3 + x^4"|>math_polyCoef()
"4*x^8 - 5*x^3 + x^4-0.2"|>math_polyCoef()
"3*z^3"|>math_polyCoef("z")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.