Post Reply 
Problems with CAS solve
04-08-2020, 06:01 AM
Post: #1
Problems with CAS solve
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


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
04-08-2020, 01:58 PM (This post was last modified: 04-08-2020 02:08 PM by Tim Wessman.)
Post: #2
RE: Problems with CAS solve
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

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 




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