How is it possible that I get different answers for the same equations in two codes?
1 view (last 30 days)
Show older comments
Rick Titulaer
on 3 May 2015
Commented: Rick Titulaer
on 3 May 2015
I am writing a code for the thermomechanical behaviour of an one-dimensional element.
From line 146-150 in the first code (Transient_ThermomechanicalCoupling) i expect an answer for TRAC which is not zero. However the answer is zero. In the other code (VERGELIJKINGTRAC) i have the same variables and get an answer that is not zero. I can't find the problem and have been looking for it for days now... It might be a small error but i can't find it. I hope someone could help me.
0 Comments
Accepted Answer
Image Analyst
on 3 May 2015
They're totally different programs.
Anyway, perhaps you haven't read the FAQ: http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F - maybe it's a precision issue.
4 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!