Question about SOLVE on hp 35s
#1

Using EQN, I have entered two equations:-

(X+2)*(X-2)

and

X^2-4

Next, I input

3 STO X
EQN (then 'select' (X+2)*(X-2))
SOLVE X
And the output is X=2.0000

I repeat the process with X^2-4 and get the same result.

Now, I input

-3 STO X
and repeat the above steps.
For (X+2)*(X-2) I get the result X=-2.0000 as expected.
But for X^2-4 I get X=2.0000.
I cannot seem to obtain X=-2.0000 as a root of X^2-4.

Why is this?

#2

Same behavior of the HP-33s.

Look in the Forum.

-- Antonio

#3

Thanks.
I never had a 33 so I wasn't aware of the behaviour.
#4

Tried your equation / SOLVE at HP-15C, which gives X= 2.0000 and X= -2.0000.

Maybe the correct answer of HP35s is found in another register...


Edited: 4 Aug 2007, 10:21 a.m.

#5

See example 2 in the 35s learning module "Formula solver part 2" found here:

Link


When a variable shows up only once in an equation such as X^2-4=0, the solver finds a direct solution if possible and ignores any user supplied guesses. That's a carryover from the 33s.

Example 2 suggests the workaround.

#6

Matt --

Here's the link to the thread in the Forum Archives:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv014.cgi?read=62665#62665

The link is my proposed solution (obviously not adopted); scroll to the top to find a very similar discussion for the HP-33S.

It turns out that the "direct solution" logioc seems to have been lifted from the HP-17B/HP-27S from 1988; I didn't know that at the time.

-- KS

#7

And, again, I am still sorry for the shortness of that title back then in my response to you. :-)

This "direct solve" approach is considered a feature. You don't take features away...anyone knows that. :-)

Short answer: if you have a polynomial that is missing a term, add the term with a 0 coefficient.

X^2-4=0 would be entered as x^2+0x-4=0.

Then the solver will not try a direct solution. That is the way it is.

#8

Thanks for the links.
I'll have a good at all the training modules.


Possibly Related Threads…
Thread Author Replies Views Last Post
  XCas / Prime "solve" question Nigel J Dowrick 4 1,947 11-08-2013, 04:01 AM
Last Post: Nigel J Dowrick
  Using the Prime to solve for eigenvalues Michael de Estrada 28 8,337 10-27-2013, 07:21 AM
Last Post: Tarcisi C
  HP Prime Define: Use with solve, etc. Helge Gabert 0 985 10-23-2013, 06:24 PM
Last Post: Helge Gabert
  HP 34s solve f'(x)=0 Richard Berler 8 2,524 10-07-2013, 03:03 PM
Last Post: Dieter
  Good puzzle for kids to solve on 35s? snaggs 11 3,284 09-18-2013, 10:40 PM
Last Post: David Hayden
  September SOLVE Newsletter Robert Prosperi 4 1,785 09-07-2013, 01:12 AM
Last Post: Mic
  [HP Prime CAS] Solve Commands (Bugs and Request) CompSystems 10 3,775 08-08-2013, 12:34 PM
Last Post: Gilles Carpentier
  41 SOLVE & INTEG Bank-switched Implementation. Ángel Martin 0 890 06-21-2013, 11:31 AM
Last Post: Ángel Martin
  HP-17bII+ Solve Compatibility Issues Robert Prosperi 7 2,817 04-22-2013, 10:11 PM
Last Post: Gerson W. Barbosa
  WP 34s Solve Richard Berler 3 1,457 04-05-2013, 10:21 AM
Last Post: Richard Berler

Forum Jump: