Question: Hint 1 . You do not need Decimal ( ) in this problem. Some of you will try to use it , but it's not
Hint You do not need Decimal in this problem. Some of you will try to use it but it's not necessary. In fact, using it is likely to generate "outofmemory" errors.
Hint Some of you will try to "implement" the error formula to somehow compensate for the roundoff error. But that shouldn't make sense to doWhy not? Because the formula above is a bound, not an exact formula. Instead, the intent of this problem is to see if you can look at the formula and understand how to interpret it That is how does the formula tell you to perform the summation to make it more accurate than the conventional method?
Hint Some of you will look up fancy algorithms to compensate for error. That's great, because you may learn something deep in the process, but it's also not necessary. Again, see Hint
Note. The test cell will disallow certain "shortcuts" on this problem, namely, importing certain implementations of summation. Only basic Python is needed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
