Hi All RPL experts!
I am trying to see how an HP50G can find the roots at least two simultaneous nonlinear equations. Does the function MROOT do the job. If so, how does one use it?
Namir
Question about MROOT function


« Next Oldest  Next Newest »

▼
11082011, 12:17 PM
Hi All RPL experts! I am trying to see how an HP50G can find the roots at least two simultaneous nonlinear equations. Does the function MROOT do the job. If so, how does one use it? Namir ▼
11082011, 01:42 PM
Use MSLV. The manual is here: http://www.ele.uri.edu/faculty/vetter/Otherstuff/HPcalculators/HP50g/HP_50g_advanced_users_reference_manual.pdf
▼
11082011, 02:17 PM
See here for the AUR with linked contents, index and bookmarks: ▼
11082011, 02:31 PM
Quote: Does this answer your question, Namir? ▼
11082011, 11:15 PM
Hi Namir,
The (skimpy) AUR documentation makes no reference as to how the equations are to be stored in the EQ variable...(as a list, a vector, or what?). I tried both of the above to no avail. I got either
Can somebody post an example using this function? ▼
11092011, 12:01 AM
My attempts to use MSLV have failed!!! I must say that TI does a MUCH BETTER job with the TI NSpire CX CAS. The machine makes it soooo easy to define how many equations, declare the variable names, and then enter the equations. You can optionally assign initial guesses AND specify the range for the solutions. My guess is that this is the work of an exHP employee. Namir
Edited: 9 Nov 2011, 7:22 a.m. ▼
11092011, 07:26 AM
What's the problem? ▼
11092011, 07:52 AM
Anyway, I made an animated GIF of me using MSLV once:
First enter the equations, then the variables, then the initial guess. Those are all entered as row vectors. ▼
11092011, 09:21 AM
Quote:
So the syntax is:
11092011, 10:29 AM
Very nice!! I will try again!! I know the HP50G is a very capable machine. It should be easy to solve the multiple roots for two or three nonlinear equations. Namir
PS: It worked. I realized my mistaked. Here is the example: x*y4=0
I entered the following: ['X*Y6','X^2+Y^331'] Originally I was leaving out the single quotes and getting syntax error messages from the machine. When I made the correct input and then executed MSLV, I watched the machine update the guesses for the roots (at the top of the LCD) as they converged to the solutions x=2 and y=3. Thanks!!
Edited: 10 Nov 2011, 5:02 a.m. after one or more responses were posted ▼
11092011, 12:09 PM
I don't have my HP50g here to test this with, but I don't think I do it with the "entering quotes" method. I'll probably go to Matrix Writer to enter the vectors, and from there Equation Writer to enter the equations (or if you prefer RPN, build up the equations on the stack, then copy and past them into Matrix Writer). I think the Matrix Writer defaults to Vectors (if it's 1xn or nx1), so if you enter them on a row, the syntax should work itself out for you. Also, (2,3) doesn't solve x*y4=0...
11092011, 09:18 AM
Quote: Use STEQ to store the equation. It is in the catalog or it can be typed.
11092011, 12:02 AM
Bart, Thanks for the bookmarked version of the AUR manual. I know it is a lot of work to add the bookmarks.
Namir Edited: 9 Nov 2011, 7:23 a.m.
11092011, 11:12 AM
Well, certainly MSLV has been decloaked and shown to work very well. 
Possibly Related Threads...  
Thread  Author  Replies  Views  Last Post  
HP50g: Writing a function that returns a function  Chris de Castro  2  1,573 
12102013, 06:49 PM Last Post: Han 

HP Prime EVAL function question  Jonathan Cameron  2  1,029 
09282013, 08:58 PM Last Post: Han 

HP80 Function Question  Kerem Kapkin (Silicon Valley, CA)  10  2,252 
02142012, 02:09 AM Last Post: Kerem Kapkin (Silicon Valley, CA) 

The HP41CX "ATIME" function question  Geoff Quickfall  2  809 
10142008, 01:46 AM Last Post: Geoff Quickfall 

x=4? Function  Shawn  2  903 
10012002, 10:12 AM Last Post: Vieira, Luiz C. (Brazil) 

Implement 'AND' function with 'XOR' function.  tal  4  1,065 
12132000, 05:55 AM Last Post: Steve (Australia) 

71B Function Question  Mike  3  900 
11082000, 03:35 PM Last Post: Mike Davis 