Yigit Turgut wrote: Hi everyone, I am trying to do some calculations using Mathcad 14 but I have a problem where variable of a function can't be assigned to a range of variables. I am attaching the sheet, it would be appreciated if one could point the error. Thanks |
Yigit,
The reason for the problem is that when you make assignments using range variables as indices, then all range variables must appear on the left hand side of the assignment. The error message in this case arises because you don't use f on the left hand side.
I'm going to assume that you really want to sum over f in the right-hand expression, in which case the most obvious method is to use the range variable summation operator (available through the calculus toolbar). See attached.
Stuart