HP Forums
Problems with CAS solve - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Problems with CAS solve (/thread-14810.html)



Problems with CAS solve - jc.reyes150 - 04-08-2020 06:01 AM

Greetings,

I was trying to solve a simple equation in CAS mode but for some kind of reason the HP Prime gives me an empty brackets answer. When I do the same opertation on the virtual calculator it manages to give me correct answer. It seems to be a problem with the number of decimals.

[Image: wyHMn74]

[Image: k2kT2HN]


I would appreciate any help with this problem


RE: Problems with CAS solve - Tim Wessman - 04-08-2020 01:58 PM

You are using approximate numbers, which triggers numerical methods to solve.

Use exact fractions or exact values to solve exactly. Else approximations (which need good estimates in many cases) are going to cause problems.

surrount with "exact()" inside you solve function to automatically attempt to find a fractional representation. Better yet, don't start using decimals until the final stage of a solution. Smile