Integrity
COMP 208: Computers in Engineering Fall 2016: Assignment 5 Convergence
These assignments are to be done individually. You can collaborate on understanding the problem but you must write the solution individually. Your submission might be subject to Plagiarism detection software.
Due Date
Assignment 5 is due on Monday, November 21, 2016 at 23:59. Late submissions will be accepted for another hour. After that time they will not be accepted at all.
Problem Statement
In this assignment we would like to use Matlab graphics to help determine whether or not an infinite series converges.
We will consider two series:
The Taylor series expansion for the natural log of x is given by the alternating series:
𝑥2 𝑥3 𝑥4 𝑥5
ln(𝑥+1)=𝑥− 2+3− 4+5−⋯,−1<𝑥≤1
Part 1: Write a Matlab function definition that will return two results. It will use this expansion to evaluate ln x for 0