this is a simple calculation where i do routine in small programming with python, sheet contains multiple branch & redefine variable, at the end of stage need to take result from a previous calculation.
i have a simple calculation, but get wrong results in SMATH.. can not figure out where i goes wrong, i try to make comparasion with MATHCAD
can anybody help, explain why i get wrong results?? thanx u
When you define [MATH]M,nxa[/MATH] you define it as a formula, that is recalculated every time its result is shown. So, the second time you see the second calculation using new lambdas. Try using eval() function: [MATH]M,nxa:eval(algorithm)[/MATH]