Post Reply 
Cas.solve Problem
08-14-2024, 06:19 AM (This post was last modified: 08-14-2024 10:57 AM by C.Ret.)
Post: #6
RE: Cas.solve Problem
(08-14-2024 01:37 AM)megamanu Wrote:  Do you know why the hp prime cant solve it with the numbers directly instead of the symbols?

Our messages crossed. Consider this answer as a complement to the arguments given by ftneek. May he feel free to complete or correct my answer.

The fact that the HP Prime does not find a solution to this equation in CAS mode while it finds a symbolic one comes from the very foundation of a CAS system. In CAS mode, the SOLVE instruction will give a symbolic solution no matter what.

On the other hand, if the equation is only numerical then, for convenience, this same SOLVE instruction will attempt a numerical approach. Hence the display of the intermediate screen.
Unlike other resolution instructions present elsewhere in other applications of the HP Prime, its numerical range is narrower in CAS (a consequence linked to the implementation of it) and above all strongly dependent on the initial conditions.

If the user enters a purely symbolic expression to the equation in CAS.SOLVE, there is no ambiguity and the symbolic approach will give a symbolic answer.
On the other hand, a problem arises if the user gives numerical values ​​to the equation to be solved without specifying any initial value for the numerical search. Unlike the SOLVE instructions of specific applications, the absence of an initial value often does not lead to any result.

On the following screenshot, I illustrate two approaches allowing a numerical result in CAS mode. The first suggested by ftneek is done in two steps, the first of which requires the enumeration of the symbolic solutions.
As well as an alternative method that leaves the choice to the CAS system of the method but without forgetting to give the unknown x a coherent initial value facilitating the numerical resolution.

[Image: attachment.php?aid=13817]

Of course, the numerical method can lead to approximate results. While the symbolic method will give more precise and more accurate results.
Here, only the symbolic method gives 299999999.966, the numerical method results in 3*10⁸.


Hoping that this helps a little.
Kind regards.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Cas.solve Problem - megamanu - 08-13-2024, 05:12 PM
RE: Cas.solve Problem - ftneek - 08-13-2024, 10:03 PM
RE: Cas.solve Problem - megamanu - 08-14-2024, 01:37 AM
RE: Cas.solve Problem - ftneek - 08-14-2024, 05:37 AM
RE: Cas.solve Problem - Albert Chan - 08-15-2024, 06:45 PM
RE: Cas.solve Problem - megamanu - 08-15-2024, 11:35 PM
RE: Cas.solve Problem - Albert Chan - 08-16-2024, 12:16 AM
RE: Cas.solve Problem - C.Ret - 08-14-2024 06:19 AM
RE: Cas.solve Problem - megamanu - 08-14-2024, 12:09 PM
RE: Cas.solve Problem - Gene222 - 08-14-2024, 03:12 AM
RE: Cas.solve Problem - parisse - 08-15-2024, 08:02 PM
RE: Cas.solve Problem - megamanu - 08-16-2024, 01:41 AM



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