Post Reply 
_
04-10-2015, 09:17 PM (This post was last modified: 11-30-2022 08:26 PM by Spybot.)
Post: #1
_
________________

Spybot.
Find all posts by this user
Quote this message in a reply
04-10-2015, 09:24 PM (This post was last modified: 04-10-2015 09:30 PM by Han.)
Post: #2
RE: Probably a dumb question!
1. The CAS() command requires a string argument
2. You are mixing the use of local variables with global variables (note that A is a built-in global variable but you've also created a local variable named A as well).

Try:

cascmd:="solve(" + A + "*x+" + B + "*y+" + C + "=0,y)";
CAS(cascmd);

You are essentially trying to use the CAS to do a symbolic solve. If that is the goal, why not just build a CAS program to do the solving, and use it as a sub-routine?

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 




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