Explore BrainMass

Explore BrainMass

    sum of the inverses

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    In real arithmetic, the sum of the inverses of all positive integers goes to infinity. In other words, if we take enough terms in the sum the sum exceeds any fixed value.
    However, when we compute the sum in Java's floating point arithmetic the largest value we get is 15.403683, regardless of how many terms we add. Explain the possible reasons for this anomaly.

    © BrainMass Inc. brainmass.com November 29, 2021, 11:48 pm ad1c9bdddf
    https://brainmass.com/computer-science/java/sum-inverses-3150

    Solution Preview

    The two acceptable answers were:

    - 1/n becomes so small relative to the ...

    Solution Summary

    The sum of the inverses is explained.

    $2.49

    ADVERTISEMENT