The equation we stored in variable EQ is already loaded in the Eq field in the SOLVE EQUATION input form. Also, a field labeled x is provided. To solve the equation all you need to do is highlight the field in front of X: by using ˜, and press @SOLVE@. The solution shown is X: 4.5006E-2:

This, however, is not the only possible solution for this equation. To obtain a negative solution, for example, enter a negative number in the X: field before solving the equation. Try 3\@@@OK@@ ˜@SOLVE@. The solution is now X: -3.045.

Solution to simultaneous equations with MSLV

Function MSLV is available in the ‚Ïmenu. The help-facility entry for function MSLV is shown next:

Notice that function MSLV requires three arguments:

1.A vector containing the equations, i.e., ‘[SIN(X)+Y,X+SIN(Y)=1]’

2.A vector containing the variables to solve for, i.e., ‘[X,Y]’

3.A vector containing initial values for the solution, i.e., the initial values of both X and Y are zero for this example.

Page 6-10

Page 95
Image 95
HP 50g manual Solution to simultaneous equations with Mslv