HP Forums

Full Version: (1-10x)^4 does not expand
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Help, In HOME with HP Prime,

I enter (1-10x)^4 and expect something like #x^4+#x^3+#x^2+#x+c where # is any number.

However my result is (1.-10x)^4 which is just what I started with.

How do I get the binomial raised to the 4th power to expand?

Thanks - Cheers!
Hi,
expand is an algebric CAS command, you can use it for polynomials and rational functions (powexpand for expressions with exponents and texpand for transcendent functions) Wink
Best,

Aries Smile
Aries, Thank you for your reply.

I am still confused.

Are you saying that I cannot directly input (1-10x)^4 in the HOME textbox and get the expansion.

Are you saying I must use the powexpand command in the CAS textbox to get the expansion?

Cheers!
Try CAS.expand('expression') or CAS.expand('expression','variable') in HOME mode Wink
Algebric objects need single quotes.
Best,

Aries Smile
Either of these should work:

[HOME]
CAS("expand((1-10*x)^4)");
CAS.expand("(1-10*x)^4");

Note the multiplication sign at 10*x, to avoid implicit multiplication issues.
Aries & DrD,

Thank you for replies. It is clear to me now. Cheers!
Dont mention it !
Best,

Aries Smile
Reference URL's