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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Mathcad Error

KAL_1625
10-Marble

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

 

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
Werner_E
25-Diamond I
(To:KAL_1625)

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.

Announcements

Top Tags