Cant simplify an algebraic equation

11 vues (au cours des 30 derniers jours)
Fernando Pérez Lara
Fernando Pérez Lara le 24 Oct 2018
Hello,
I can't simplify this equation:
g(x) = (A*(x + 1)^3 + C*(x + 1)^3 + B*(x - 1)*(x + 1)^2)/((x - 1)*(x + 1)^3)
I tried to use
simplify(g(x))
But It doesn't work.

Réponse acceptée

Star Strider
Star Strider le 24 Oct 2018
It seems to slimplify nicely for me:
syms A B C x
g(x) = (A*(x + 1)^3 + C*(x + 1)^3 + B*(x - 1)*(x + 1)^2)/((x - 1)*(x + 1)^3);
g = simplify(g, 'Steps', 20)
g(x) =
A/(x - 1) + B/(x + 1) + C/(x - 1)
Do you want something different?

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by