Post Reply 
Problem with MVAR on HP42S
06-09-2020, 01:24 AM
Post: #3
RE: Problem with MVAR on HP42S
As mentioned, the error is because you’ve never created X in memory.

As written, your program requires that you store the value of interest into X and then execute COS. That’s not what you describe you wanted to do. Maybe you’re confused because MVAR is typically used with a solver programs or much larger, non-trivial programs with LOTS of variables.

I find it easiest to always create the variables used first before entering the program with:

STO
Shift
Alpha (enter key)
Then type out the name
EXIT when done

Then when you use MVAR or RCL (or anything that references a variable), you can just press the upper row key for that variable. If you have lots of them, you’ll have to use the up/down arrow keys to find the one of interest.

Take away: trivial programs don’t use/need MVAR. What are you actually trying to accomplish? I doubt it is to create a program to calculate a cosine...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with MVAR on HP42S - Pekis - 06-07-2020, 08:09 PM
RE: Problem with MVAR on HP42S - grsbanks - 06-07-2020, 08:41 PM
RE: Problem with MVAR on HP42S - GreyUser - 06-09-2020 01:24 AM
RE: Problem with MVAR on HP42S - Pekis - 06-10-2020, 08:58 AM
RE: Problem with MVAR on HP42S - Werner - 06-12-2020, 08:59 AM



User(s) browsing this thread: 1 Guest(s)