I'm getting an undefined variable error when trying to plot a pair of functions to draw a circle.
I can however get the individual expressions to plot if I don't use them as part of a function
so Mathcad is able to access all the values.
I'm guessing it has something to do with the way I've used them in the functions.
I have rearranged them a couple of different ways and it will change which variable
it sees as undefined but that is all.
I know there are other ways to draw a circle in Mathcad but this one has it charms for
what will be included in the worksheet later.
Thanks.
Solved! Go to Solution.
A couple of problems:
1) You can't use an inline evaluation with a function definition. An inline evaluation displays the value (or values, if an array) assigned to the variable on the LHS of the assignment operator, but values are not assigned to a function definition.
2) You must call the function with the same number of arguments you used when you defined it.
A couple of problems:
1) You can't use an inline evaluation with a function definition. An inline evaluation displays the value (or values, if an array) assigned to the variable on the LHS of the assignment operator, but values are not assigned to a function definition.
2) You must call the function with the same number of arguments you used when you defined it.
It was likely the evaluation operator that tripped my up initially.
Thanks a mint Richard.