HP Forums
(1+x)^n function/command? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: (1+x)^n function/command? (/thread-15276.html)



(1+x)^n function/command? - MullenJohn - 06-28-2020 03:52 PM

Hello,

I am looking for a function/command in my HP Prime that will expand (1 + X)^4 to X^4 + 4X^3 + 6X^2 + 4X^1 + 1 but I cannot find it.

Does it exist and if so would you please tell me how to get it.

Thanks - Cheers!


RE: (1+x)^n function/command? - Oulan - 06-28-2020 03:58 PM

Try in CAS mode and in Radians with

taylor((1+x)⁴,x=0)


RE: (1+x)^n function/command? - victorvbc - 06-28-2020 04:09 PM

(06-28-2020 03:52 PM)MullenJohn Wrote:  Hello,

I am looking for a function/command in my HP Prime that will expand (1 + X)^4 to X^4 + 4X^3 + 6X^2 + 4X^1 + 1 but I cannot find it.

Does it exist and if so would you please tell me how to get it.

Thanks - Cheers!

Very easy is CAS, using the expand() command:
[attachment=8595]


RE: (1+x)^n function/command? - DrD - 06-28-2020 04:14 PM

[CAS]
series((1+x)^4) ==> 1+4*x+6*x^2+4*x^3+x^4