apart | R Documentation |
apart() performs a partial fraction decomposition on a rational function
apart(x)
x |
A |
if (has_sympy()){
def_sym(x)
expr = (4*x**3 + 21*x**2 + 10*x + 12)/(x**4 + 5*x**3 + 5*x**2 + 4*x)
apart(expr)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.