Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

** Community Tip** - You can Bookmark boards, posts or articles that you'd like to access again easily!
X

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Jul 05, 2020
01:59 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 05, 2020
01:59 AM

"Function: X Y {VARIABLE}" is returned for a function that has two range variables

I'm solving for unknowns and I thought I could just pick a range for the variables and brute force method a solution. I defined the two variables over a range and called the function and it returns an error that doesn't come up in a google search so I'm at a loss currently. Any help is appreciated.

Trip

Labels:

3 REPLIES 3

Jul 05, 2020
06:59 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 05, 2020
06:59 AM

What we see in the picture you posted is not an error message. When you evaluate RM, Prime simply tells you that RM is a function, which is true (its defined one line above).

To solve a system of equations for variables you may either use the symbolic "solve" command or a numeric solve block. Solving one equation for one variable can also be done using the numeric "root" command.

You may lookup how to do it in the help pages of Prime.

Of course you may also write a program in Prime yourself which iterates through MM and MB and returns the values which fit best. But why would you do so if you have much more powerful ways to do the job on hand.

From your pic its not clear which two equations you would like to solve and if the other variables have been assigned values.

For further help you should always attach your worksheet, not just a picture.

Jul 08, 2020
11:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 08, 2020
11:53 AM

Thanks for the reply. I am working on making a worksheet that is able to be shared. Now I've started a new problem and run into issues again. Attached is the example worksheet. When I try to define a variable for the system of equations to solve with I get an error message:

"these units are not compatible"

or:

"The variable is undefined. Check that the label is set correctly."

I thought you could define variables with subscripts and I don't know what I am doing wrong this time. Your help is greatly appreciated because it's hard to google this simple error and get the right solution.

Jul 08, 2020
09:07 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 08, 2020
09:07 PM

re using matrix subscripts but for naming variables you have to use literal subscripts (te one you get using the shortcut Ctrl -