You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As one can see, there are lot of terms that should really be zero as they are in the orders of 1e-16 despite using simplify.
Similarly, there are terms that should really have a factor of whole numbers rather than 1.000... and 3.000...
How does one simplify the expression to get rid of these float point errors?
The text was updated successfully, but these errors were encountered:
I don't think using rational numbers will help me as the expression is a result of calculations involving square roots that promotes them to floats.
In this specific case, a lot of terms just happen to cancel out which gives a nice form involving integer factors, but I do not know that before hand and in different cases it might result in an irrational factor.
I'm doing some calculations which result in an expression that looks like this:
As one can see, there are lot of terms that should really be zero as they are in the orders of 1e-16 despite using
simplify
.Similarly, there are terms that should really have a factor of whole numbers rather than 1.000... and 3.000...
How does one simplify the expression to get rid of these float point errors?
The text was updated successfully, but these errors were encountered: