Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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.
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:
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: