HP Forums
_ - 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: _ (/thread-3611.html)

_ - Spybot - 04-10-2015 09:17 PM


RE: Probably a dumb question! - Han - 04-10-2015 09:24 PM

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).


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

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?