On 1/19/2012 6:43 AM, Nicola Bressanin wrote:
> First i stored the two equations as EQA and EQB
>
> EQA contains (text mode) 'C=SQ(D)/3.*pi*eap*A'
> EQB contains (text mode) 'D=2.*pi*(Aa-D*(1.+S)/(pi*A)-B)'
>
> Then as input for MSLV:
> 3: [EQA EQB]
> 2: [D A]
> 1: [.15 10.]
> then i invoke MSLV. No matter how D and A are chosen,it will keep "A"
> constant and will diverge D by steps of .25. This suggest it isn't
> evaluating the equations
The above are not formatted to be ready for direct transfer to the calculator,
and the values of various additional variables have not been provided,
so let's turn instead to the example from built-in calculator HELP:
Original form:
[ 'SIN(X)+Y' 'X+SIN(Y)=1' ]
[ 'X' 'Y' ]
[ 0 0 ]
MSLV @ Produces the answer as suggested by HELP
Let's separately save the original equations and re-try:
'SIN(X)+Y' 'EQA' STO
'X+SIN(Y)=1' 'EQB' STO
[ 'EQA' 'EQB' ]
[ 'X' 'Y' ]
[ 0 0 ]
MSLV @ Oops -- this does what you have described!
The problem seems to be that the CAS does not recognize
that 'EQA' and 'EQB' are functions of 'X' and 'Y'
When I tested with just one single equation, this did not come up :)
Now let's try something slightly more explicit:
\<< \-> X Y 'SIN(X)+Y' \>> 'EQA' STO
\<< \-> X Y 'X+SIN(Y)=1' \>> 'EQB' STO
[ 'EQA(X,Y)' 'EQB(X,Y)' ]
[ 'X' 'Y' ]
[ 0 0 ]
MSLV @ Produces the answer as suggested by HELP
Have we discovered the principle now?
[r->] [OFF]