Qurak

Rearrange the terms of a polynomial

How-to 9 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
p = x ^ 2 E ^ (2x) + 2x E ^ (2x) + x E ^ x
Uitvoer
E^x*x + 2*E^(2*x)*x + E^(2*x)*x^2
Stap 2
Collect[p, x]
Uitvoer
E^x + 2*E^(2*x) + E^(2*x)*x
Stap 3
Collect[p, E ^ _]
Uitvoer
Collect[E^x*x + 2*E^(2*x)*x + E^(2*x)*x^2, E^(_)]
Stap 4
Collect[p, E ^ _, Simplify]
Uitvoer
Collect[E^x*x + 2*E^(2*x)*x + E^(2*x)*x^2, E^(_), Simplify]
Stap 5
poly = x ^ 2 - 3x + 2
Uitvoer
2 - 3*x + x^2
Stap 6
Coefficient[poly, x, 0]
Uitvoer
2
Stap 7
poly /. x -> 0
Uitvoer
2
Stap 8
MonomialList[poly, x]
Uitvoer
{x^2, -3*x, 2}
Stap 9
poly//TraditionalForm
Uitvoer
TraditionalForm[2 - 3*x + x^2]

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client