Post Reply 
solve() problems
06-05-2021, 07:43 AM (This post was last modified: 06-05-2021 08:04 AM by C.Ret.)
Post: #6
RE: solve() problems
@rawi:
No, you don't have to indicate the variable to be search for when you use default x variable. It is mandatory only in case of several variables in the equation.

[attachment=9527]

@HansB
I think the problem come from a confusion between the symbolic CAS variable x (lowercase) and the global variable X (uppercase). In the CAS windows, the later X is consider as a numeric constant.

In CAS mode, if you indicate to solve over global register X (uppercase) in solve, expected answer is display what ever the value store in X.

If you don't indicate variable to solve, default symbolic CAS variable x (lowercase) is used and the equation containing the X register is first numerically evaluated.

When X is not storing value 4, solve returns empty solution set [ ] since no symbolic x will ever made X-3 to be 1.
When X is storing the correct value 4, solve returns the infinite symbolic solution set { x } (lowercase) to indicate that any values of x will fit, since, whatever is x, (4-3) always eval to 1.

[attachment=9526]

Concerning solve behavior in HOME, I have no explanation.

@Joe Horn
Sorry my post crossed yours. You are perfectly right when stating that solve is not intended to be used in HOME numeric environment.

The main goal of solve is symbolic solving and dependencies resolving:
[attachment=9528]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
solve() problems - HansB - 06-04-2021, 07:51 PM
RE: solve() problems - rawi - 06-05-2021, 06:17 AM
RE: solve() problems - HansB - 06-05-2021, 07:19 AM
RE: solve() problems - Joe Horn - 06-05-2021, 07:06 AM
RE: solve() problems - HansB - 06-05-2021, 07:28 AM
RE: solve() problems - C.Ret - 06-05-2021 07:43 AM
RE: solve() problems - toml_12953 - 06-05-2021, 09:53 AM
RE: solve() problems - Dougggg - 06-05-2021, 06:29 PM
RE: solve() problems - C.Ret - 06-05-2021, 07:25 PM
RE: solve() problems - HansB - 06-06-2021, 08:42 AM
RE: solve() problems - Albert Chan - 06-06-2021, 03:54 PM
RE: solve() problems - HansB - 06-07-2021, 12:53 PM
RE: solve() problems - jte - 08-06-2021, 08:39 PM
RE: solve() problems - C.Ret - 06-06-2021, 02:45 PM
RE: solve() problems - C.Ret - 06-07-2021, 06:09 PM
RE: solve() problems - HansB - 06-08-2021, 06:34 AM
RE: solve() problems - C.Ret - 06-09-2021, 08:53 PM
RE: solve() problems - Albert Chan - 07-13-2021, 07:04 PM
RE: solve() problems - C.Ret - 07-14-2021, 08:19 AM
RE: solve() problems - Liamtoh Resu - 08-06-2021, 09:25 PM



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