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

Mathcad Error

AM_9812862
2-Guest

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.

View solution in original post

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.

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."