Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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.
Any help is very much appreciated. Thanks.
Solved! Go to Solution.
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
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
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.