Incorrect variable value - Mathcad 15
Declared a variable, Dsling.7 (the ".7" is what I typed in to get a subscript 7). When it was used in equation, Mathcad 15 used the value of a previously defined variable (i.e. above Dsling.7), Dsling.6. The fix for this was to cut the equation, and then paste it back in.
Tested the value of the variable by entering the expression "Dsling.7 =" and got the value of Dsling.6 when it was placed after the equation (and after the variable declaration for Dsling.7), but the correct when value when placed before the equation (but still after the declaration for Dsling.7).
The final fix was to retype all variable declarations after "Dsling.7 :=", then cut and repaste the equation, working my way down the page.
Mathcad 15 didn't indicate that there were any errors when it was giving the wrong value.
Version used: Mathcad 15.0 (M005 [MC15_M005_20101105])
Incorrect value (equal to Dsling.6)
Dsling.7 := 213mm
Equation
Dsling.7 = 285mm
Correct value (after retyping all of the variable declarations following "Dsling.7 :=", then cutting the equation and pasting it back at the same location):
Dsling.7 := 213mm Dsling.7 := 213mm
Dsling.7 = 213mm and Equation
Equation Dsling.7 := 213mm
Has anyone experienced anything similar to this?
If I did something wrong, what should I do differently?
Thanks,
Daniel van S.

