wrong result using simplify()
06-20-2022, 02:25 PM
Post: #1
 Adiwa Junior Member Posts: 9 Joined: Jun 2022
wrong result using simplify()
Hello forum

I'm playing around with my new HP Prime G2.
Trying to duplicate the inputs of a you tube video I entered in CAS: simplify(x+x+2y+x-y-x)

I got as result x+x+2.*y-y-x (with this strange decimal behind the 2), there's no simplification!
The guy in the video gets perfectly 2*x+y as expected.

What I'm doing wrong, whats going on?

In addition I did several complex things on it as areas between graphs and everything seems to be working fine there.

Any ideas out there - thanks very much.
Adrian
06-20-2022, 09:40 PM
Post: #2
 Guenter Schink Senior Member Posts: 537 Joined: Dec 2013
RE: wrong result using simplify()
Seems to be a matter of the settings for CAS. Go to <Settings> (for CAS of course) and choose <Minimum> as the option for 'Simplify' that should do it. BTW best is to avoid any implicit operations like '2y' instead of '2*y'

HTH Günter
06-20-2022, 09:49 PM
Post: #3
 Joe Horn Senior Member Posts: 2,009 Joined: Dec 2013
RE: wrong result using simplify()
The decimal point MIGHT indicate that your CAS is set to Approx mode. Press Shift CAS [Settings], then make sure the Exact box has a checkmark.

<0|ɸ|0>
-Joe-
06-21-2022, 02:44 PM
Post: #4
 Adiwa Junior Member Posts: 9 Joined: Jun 2022
RE: wrong result using simplify()
(06-20-2022 09:40 PM)Guenter Schink Wrote:  Seems to be a matter of the settings for CAS. Go to <Settings> (for CAS of course) and choose <Minimum> as the option for 'Simplify' that should do it. BTW best is to avoid any implicit operations like '2y' instead of '2*y'

HTH Günter

Dear Guenter

Thanks for your hint, but I had it already on minimum. But Joes hint with the tickbox of "genau" solved my problem.

Regards
Adrian
06-21-2022, 02:45 PM
Post: #5
 Adiwa Junior Member Posts: 9 Joined: Jun 2022
RE: wrong result using simplify()
(06-20-2022 09:49 PM)Joe Horn Wrote:  The decimal point MIGHT indicate that your CAS is set to Approx mode. Press Shift CAS [Settings], then make sure the Exact box has a checkmark.

Thanks this was the problem!
Regards
 « Next Oldest | Next Newest »

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