hp-SOLVE in the 33s



#2

I am proudly the owner of another (exam redundancy) 33s.

After entering the quadratic form a*sqre(x) + b*x = - c

I am concerned to obtain only one root (and incorrect). Perhaps I need to think about this, yet I have an excel spreadsheet and XEQ on the 33s, both which arrive at same answer...which is likely because the same idiot programmed both..;)

Any thoughts..?
Eric


#3

HP's calculator website has 4 learning modules about using the SOLVE feature. I encourage you to look at them and download them.

#4

Hi Eric,

I think the following posts should be helpful for understanding how to get the 33s solver to work most effectively. Also be sure to read the manual and the guides on the hp website--the solver is a powerful tool, but slightly different from the 32sii in some ways (though just as good if not better) and it is helpful to understand the nuances.

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

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

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

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

Best regards,

Bill

#5

Quote:
After entering the quadratic form a*sq(x) + b*x = - c

I am concerned to obtain only one root (and incorrect).


As Namir and Bill said, there is osme supplemental info available at HP's website. The info describes how the 33S will use a "direct solution" method for equations of certain forms, solving algebraically instead of iteratively. This is not always desirable, because one must then know how to modify the equaiton so that the 33S will find the other roots.

In any case, it should have returned at least one correct answer. What were the coefficients?

-- KS


#6

Karl,

For the coefficients
A = 30
B = -25
C = 1

SOLVE yields x= 4.84, which by a sanity check is way off.

My short program yields
Sol'ns +/- =
0.7912
0.0421

which is correct, any ideas?
I'll look into the book to.
Eric


#7

All I can suggest is to follow the instructions. The equation should look like this:

AxSQ(X)+BxX=-C

Display the equation in the x-register; press SOLVE; press "2" for X; enter the three coefficient values with "R/S" after each one.

You can find the desired root by defining the search range between two values: Store one value in the variable X; put the other value in the x-register; then do as above.

-- KS


#8

Karl,

I don't know what to say. I entered the eqn again in place of my original one, but using some parentheses for confidence, and it solved correctly, giving the first correct root.

However, I really believe that I had it entered as you listed. Well, pc's don't lie, so I must have erred in the entry.

Thanks for the help!
Eric

#9

0.79120341757 0.0421299157633 are the correct roots

[VPN]

#10

Don't forget that computer programs are not magical black boxes. They are based on algorithms, and all HP SOLVE programs are based on well known mathematical algorithms, such as Newton's, regula falsi, etc., which DO have limitations, i.e., they are not always applicable, they will not always converge to a root; that depends on some conditions the function must fulfill. Even the most powerful computer in the world programmed with the "best" root-finding algorithm can fail to return a correct answer in some cases, and that doesn't mean its programmers are incompetent or that the programs contain bugs. Get used to it.


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

Forum Jump: