Skip to main content
1-Visitor
March 12, 2015
Solved

Unable to plot a function in Prime 3.0

  • March 12, 2015
  • 1 reply
  • 1235 views

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.

Best answer by RichardJ

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.

1 reply

RichardJ19-TanzaniteAnswer
19-Tanzanite
March 12, 2015

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.

wspier1-VisitorAuthor
1-Visitor
March 13, 2015

It was likely the evaluation operator that tripped my up initially.

Thanks a mint Richard.