Skip to main content
1-Visitor
April 12, 2012
Solved

solve block undefined variable

  • April 12, 2012
  • 1 reply
  • 1954 views

I'm trying to use a solve block with MathCad but I'm getting an undefined variable error. I'm not using units and the equation is using all variables defined. I'm lost on what is causing this.

The solve block looks like the following but it won't work. I'll attach the full worksheet.

Screen Shot 2012-04-12 at 1.13.14 AM.png

Any help is very much appreciated. Thanks.

Best answer by StuartBruff

I would guess that it has something to do with you having defined R2 and R3 as zero. This will give a divide by zero error when the solve block attempts to compute .../R2 and .../R3.

Stuart

1 reply

23-Emerald V
April 12, 2012

I would guess that it has something to do with you having defined R2 and R3 as zero. This will give a divide by zero error when the solve block attempts to compute .../R2 and .../R3.

Stuart

mike_b11-VisitorAuthor
1-Visitor
April 12, 2012

This was very helpful in solving this plus understanding how MathCad goes about solving a system of equations. I was just show to give an initial guess of 0 or anything, I didn't expect that MathCad would use that value but it makes sense now.