The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Factoring polynomial returns numeric value
07-07-2017, 05:22 PM
Post: #1
Factoring polynomial returns numeric value
I'm in the process of re-familiarizing myself with my HP Prime. I've had one for a couple of years but stopped using it because it was too difficult to see. I just bought a new one with the high contrast keys (and it's great ... thanks HP!)

I'm going over some of Eddie Shore's examples and am having some problems. I'm sure the answer I need is simple but I can't figure it out.

Eddie's blog ... https://edspi31415.blogspot.com/2016/05/...mands.html

I am attempting this example:

factor(x^2 + 6*x + 5) returns (x + 1)*(x + 5)

What I'm getting is 10.44 rather than (x + 1)*(x + 5).

I know what's going on. My 'x' variable is set to 0.8 from some previous examples I did so it seems that the Prime is evaluating (x^2 + 6*x + 5) for 'x' rather than factoring it.

What do I have to do to get a return of (x + 1)*(x + 5)?

Thanks,
Jim
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Factoring polynomial returns numeric value - Skyblues - 07-07-2017 05:22 PM



User(s) browsing this thread: 2 Guest(s)