Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi,
I have simple equation with the two constant one Positive integer and other negative integer
and I have Integrated this integer as a matrix along the length of the section.
So that the start point is the positive integer and end point is the negative integer.
But for some reason I am not getting the values.
Could some one find the error.
Please find the Math Cad Sheet & the Picture
Thanks,
BR,
J.Randeep
It's simply down to numerical rounding errors. If you were to use the symbolic equals you would see what you expect:
However, when dealing with non-integer numbers you should expect the numerics to have limited precision. Never look for an exact comparison of two non-integers. Do something like |STR691- epscu2|<10^-10 or some such.
Alan
Numerical roundoff. Go to "Tools", "Worksheet Options", "Calculation" and uncheck "Use exact equality for comparisons and truncation". For some reason the default is for this to be checked, but it's generally not a good choice.
Thank you Alan Stevens & Richard Jackson for the replies.