HP Forums
hp-SOLVE in the 33s - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: hp-SOLVE in the 33s (/thread-69732.html)



hp-SOLVE in the 33s - Eric Lundgren - 02-25-2005

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


Re: hp-SOLVE in the 33s - Namir - 02-25-2005

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


Re: hp-SOLVE in the 33s - bill platt - 02-25-2005

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




Re: hp-SOLVE in the 33s - Karl Schneider - 02-25-2005

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




Re: hp-SOLVE in the 33s - Eric Lundgren - 02-26-2005

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


Works fine on my 33S.... - Karl Schneider - 02-26-2005

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


Re: Works fine on my 33S.... - Eric Lundgren - 02-26-2005

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


Re: hp-SOLVE in the 33s - V-PN - 02-27-2005

0.79120341757 0.0421299157633 are the correct roots

[VPN]


Re: hp-SOLVE in the 33s - Barnardo Vargas - 03-01-2005

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.