Troubleshooting HP50G Syntax Errors for MSOLV

  • Context: Calculators 
  • Thread starter Thread starter Clutch Cargo
  • Start date Start date
  • Tags Tags
    Errors Troubleshooting
Click For Summary
SUMMARY

The discussion focuses on troubleshooting syntax errors encountered while using the MSOLV command on the HP50G calculator for solving simultaneous equations. Users initially attempted to use the command with incorrect syntax, leading to "invalid syntax" errors. The correct usage involves the MSLV command, which requires three arguments: a list of equations, a list of variables, and a list of initial values. The correct syntax is MSLV('[x/60+x/15+(x-y)/5-15=0, y/2+(y-x)/5+5=0]', '[x,y]', '[0,0]').

PREREQUISITES
  • Understanding of the HP50G calculator functionality
  • Familiarity with the MSLV command syntax
  • Basic knowledge of simultaneous equations
  • Experience with calculator modes and settings
NEXT STEPS
  • Research the HP50G user manual for detailed command syntax and examples
  • Learn about the differences between MSOLV and MSLV commands
  • Explore how to display results as fractions on the HP50G
  • Investigate advanced features of the HP50G for solving complex equations
USEFUL FOR

Mathematicians, engineering students, and anyone using the HP50G calculator for solving equations or performing advanced calculations.

Clutch Cargo
Messages
18
Reaction score
0
I recently purchased an HP50G as I caught my TI-89 giving me incorrect results when solving simultaneous equations. However I can't get the 50G to do anything but tell me invalid syntax. I am using MSOLV as follows:

MSOLV('[x/60+x/15+(x-y)/5-15=0][y/2+(y-x)/5+5=0][x,y]

This is the syntax copied straight out of the users guide. Can anyone tell me what I am doing wrong?
 
Computer science news on Phys.org
Clutch Cargo said:
I recently purchased an HP50G as I caught my TI-89 giving me incorrect results when solving simultaneous equations. However I can't get the 50G to do anything but tell me invalid syntax. I am using MSOLV as follows:

MSOLV('[x/60+x/15+(x-y)/5-15=0][y/2+(y-x)/5+5=0][x,y]

This is the syntax copied straight out of the users guide. Can anyone tell me what I am doing wrong?

Looks like you may need a set of square brackets inclosing the entire matrix.

Is the HP able to correctly close the opening paren and tick mark?
 
I've tried that along with apostrophes before and after the square brackets as shown in the HP users guide. You have heard of Moore's law, well there is also a Mathieson Law that I came up with years ago: it states that user friendliness is inversly proportional to functionality. The HP50G proves that point.,
 
Clutch Cargo said:
I recently purchased an HP50G as I caught my TI-89 giving me incorrect results when solving simultaneous equations.

I wonder, was it the machine's fault, or operator error? In the end, a calculator is only as smart as the person using it. What simultaneous equations were you trying to solve?
 
Hmm... My user's guide lists a different syntax. Try

MSOLV('[x/60+x/15+(x-y)/5-15=0 , y/2+(y-x)/5+5=0]' , '[x,y]', '[0,0]')

I get 60,10
 
I am much happier with my TI-89 Titanium. I should put my HP on e-bay.

Besides, there are a number of good programs written for the 89.
 
For the HP 50

1. How can I get answers displayed as fractions rather than decimal ?

2. How can I convert decimals to fractions
 
pfinch said:
For the HP 50

1. How can I get answers displayed as fractions rather than decimal ?

2. How can I convert decimals to fractions


1. Go to MODE, then CAS, then uncheck APPROX. This will make the calc output exact fractions, rather than decimal approximations.

Personally, I keep my calc in this mode and use RSHIFT ENTER to convert from fraction to decimal as needed.

2. LSHIFT 6 (convert), then choose REWRITE, then ->Q to convert from decimal to fraction.
 
Some help please.
I'm writing a units application and I want to convert cubic meters /day into millions of cubic meters a gear. The first one is easy '1_m^3/d' but when I try '1_Mm^3/yr' it gets interpreted as 'million meters cubed per year.
I've tried putting brackets i.e. '1_M(m^3)/yr' and '1_M(m^3/yr)' but this results in nonsence.
I seem to remember reading about how to solve this problem in my old HP48sx manual, but I have long since lost that!
Has anybody got a solution?
Adrian
 
  • #10
Clutch Cargo said:
I recently purchased an HP50G as I caught my TI-89 giving me incorrect results when solving simultaneous equations. However I can't get the 50G to do anything but tell me invalid syntax. I am using MSOLV as follows:

MSOLV('[x/60+x/15+(x-y)/5-15=0][y/2+(y-x)/5+5=0][x,y]

This is the syntax copied straight out of the users guide. Can anyone tell me what I am doing wrong?

There is not an MSOLV command; there _IS_ an MSLV command. The syntax is:

MSLV( '[x/60+x/15+(x-y)/5-15=0, y/2+(y-x)/5+5=0]' , '[x,y]' , [0,0] )

There are three arguments: '[ list of equations ]' , '[ list of variables ]' , [ list of initial values ]

I hope that is what you needed.

Han
 

Similar threads

Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 2 ·
Replies
2
Views
19K
  • · Replies 1 ·
Replies
1
Views
4K