Design a method that can compute the following partial sum accurately for very large N, S_(N) = \ sum_(n = 1)^N ((-1)^(n-1))/(n). From Calculus, we know that \lim_(N-> \infty )S_(N) is a finite number. Since successive terms in the sum have opposite signs and become increasingly close together as n grows, there may be a danger of increasing error through cancellation. How can you evaluate the sum in a way that avoids this danger? (Hint. Use additions only.)

College Algebra
1st Edition
ISBN:9781938168383
Author:Jay Abramson
Publisher:Jay Abramson
Chapter9: Sequences, Probability And Counting Theory
Section9.4: Series And Their Notations
Problem 1SE: What is an nth partial sum?
icon
Related questions
Question
Do not give answer in image and hand writing
Design a method that can compute the following partial sum accurately for very large N, S_(N) = \
sum_(n = 1)^N ((-1) ^ (n-1))/(n). From Calculus, we know that \lim_(N-> \infty )S_(N) is a finite
number. Since successive terms in the sum have opposite signs and become increasingly close
together as n grows, there may be a danger of increasing error through cancellation. How can you
evaluate the sum in a way that avoids this danger? (Hint. Use additions only.)
Transcribed Image Text:Design a method that can compute the following partial sum accurately for very large N, S_(N) = \ sum_(n = 1)^N ((-1) ^ (n-1))/(n). From Calculus, we know that \lim_(N-> \infty )S_(N) is a finite number. Since successive terms in the sum have opposite signs and become increasingly close together as n grows, there may be a danger of increasing error through cancellation. How can you evaluate the sum in a way that avoids this danger? (Hint. Use additions only.)
Expert Solution
steps

Step by step

Solved in 3 steps with 10 images

Blurred answer
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax