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

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Mathcad prime 3.1

jheikkinen-2
1-Newbie

Mathcad prime 3.1

Hello

Can somebody help me with my problem I am new at mathcad and I have this problem.

Example if A is 201-300 its value in calculation is 2.65

And if A is 301-400 its value in calculation is 3.68. So what i do so it calculate it correct answer.

3 REPLIES 3

What should A be? A vector with 100 integer elements or does 201-300 denote a subtraction?

And what so you mean by  "its value in calculation" ?? Which calculation?

And why do you think that the answers you get are not correct and what would the correct answers be in your opinion?

Are you looking for something like this?

If you only intend to make this calculation once, you might prefer to avoid the function:

Werner_E
24-Ruby V
(To:MJG)

Ah, I think you interpreted the question the way it was intended, Mark.

While I, too, prefer the programming "if" statement because it looks clearer, I'd like to point out that there is also an "if" function, which works in Prime Express, too: