Info

This question is closed. Reopen it to edit or answer.

i need help with question please please

2 views (last 30 days)
john hollywood
john hollywood on 26 Jan 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Thank you advance. any help will be a life saver .

Answers (1)

John D'Errico
John D'Errico on 26 Jan 2015
No. While they are mathematically the same, there is no presumption that a computer does mathematics. Odds are, this is what the homework assignment was designed to do, to teach you that essential fact.
Computers yield an approximate result, using floating point arithmetic. But in fact, any two computations done in a different sequence can yield results that while mathematically the same in theory, are not the same down to the least significant bit.

This question is closed.

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!