Skip to main content
1-Visitor
February 4, 2014
Question

Variable undefined and placement

  • February 4, 2014
  • 2 replies
  • 858 views

I'm new to MathCAD and am having some hopefully easily solved issues. I'm attempting to recreate a document, and the first thing is a quadratic equation. The variables in it, a, b, and c are all to be defined in lines after the equation, which of course causes a definition error. Is there a way to fix this? Also, the variable x causes an error, needing to be defined itself.

2 replies

24-Ruby IV
February 4, 2014

May be as in attach?

25-Diamond I
February 4, 2014

I'm attempting to recreate a document

So the problems with coefficients being not defined in front of the calculations should be already adressed in the file you try to duplicate!?

The variables in it, a, b, and c are all to be defined in lines after the equation, which of course causes a definition error. Is there a way to fix this?

Either turn your function/calculation into function(s) of the coefficients a,b,c or define them globally (not recommended).

Also, the variable x causes an error, needing to be defined itself.

You have put the function parameter in the place which is reserved for the unit. You have to type the parentheses yourself.

See if the attached sheet helps.