Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Python to solve each problem. (NOTE: to plot sequences, we will be using matplotlib.pyplot rather than sympy.plot. Refer to the links in the help

Use Python to solve each problem. (NOTE: to plot sequences, we will be using matplotlib.pyplot rather than sympy.plot. Refer to the links in the help documentation if you are not familiar with pyplot.)

1. Given the sequence an = n n + 1 n + 3

(a) Evaluate a10, a20, a30, a40, a50 to numerically estimate the limit.

(b) Plot the first 50 points of the sequence to graphically estimate the limit.

(c) Rationalize an (multiply numerator and denominator separately), then take the limit. Confirm your answer by computing limn an directly.

2. Given the sequence an = ln 1 + 1 n

(a) Show an 0.

(b) Find the first 10 terms of the sequence, then the first 10 partial sums (NOTE: use for loops and symbolic computations, NOT arange and numeric computations, to see what is happening!).

(c) Plot the first 50 terms of the sequence and the first 50 partial sums on the same graph.

(d) From part (b), write an expression for sn and use it to show X n=1 an diverges.

3. (a) Use a while loop to create the recursive sequence a1 = 1, an+1 = 7 2 an until |an+1 an| < .00001 and print the resulting sequence to numerically show an is increasing and an < 7.

(b) Plot the sequence from part (a) to graphically show an is increasing and an < 7

(c) Assuming the statements in parts (a) and (b) are true, the limit exists, so let an = an+1 = L and solve for the exact limit.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

=+f. Bank service charges for June amounted to $35.

Answered: 1 week ago