cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Mathcad Error

KAL_1625
9-Granite

Mathcad Error

Hey there, I am attaching the screenshot of an error that Math cad prime shows. Can anyone tell in detail what does that error mean?

It says "this function requires at least 3 arguments but is applied to 2"

AM_9812862_0-1627516339790.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Just at a guess:

 

in your picture it looks like "bar" the units of the first two arguments are standard black  and "ms" is bold blue.  This means that "bar" is not being recognized as a unit, you have to tell Prime that it is, 

Fred_Kohlhepp_0-1627557808511.png

As Werner said, a proper diagnosis may require the full sheet.

View solution in original post

3 REPLIES 3

It would be necessary to have a look at the worksheet itself rather than just the pic to be able to say something useful.
It depends on how m_gas is defined and which functions are used in the definition of m_gas.

You may use Primes error-trace option to find the position where the error actually occurs the first time.

Just at a guess:

 

in your picture it looks like "bar" the units of the first two arguments are standard black  and "ms" is bold blue.  This means that "bar" is not being recognized as a unit, you have to tell Prime that it is, 

Fred_Kohlhepp_0-1627557808511.png

As Werner said, a proper diagnosis may require the full sheet.

This actually worked to put units beside every digit. That being said, I could not upload the Mathcad file for security reasons. Thanks though, this helps a lot.

Top Tags