[Solved] CSC30100 Project 3

$25

File Name: CSC30100_Project_3.zip
File Size: 169.56 KB

SKU: [Solved] CSC30100 Project 3 Category: Tag:
5/5 - (1 vote)

Calculate the Taylor polynomials centered at 0,

n f (k) (0) k Tn (x)=k=0 k! (x) ,

for f = cos(x) for the following 4 values of ,x

1 2 3 4

x , , , which is equivalent to 10 10 10 10 j x = , for j =1,2,3,4.

10

For each value of , j find the smallest integer such thatn

j j 12

Tn cos <10 .

10 10

Calculate the exact value using np.cos(x). Present your results in a table and discuss them. How do your errors compare to the error bounds for Taylor polynomials that we discussed in class? Remember that the error for a Taylor polynomial is given by its remainder term

(n+1)

f (c) n+1

Rn (x)= f x( )Tn (x)= (xa)

(n+1 !)

Include all of your analysis and discussion in an .ipynb file and submit the file through Blackboard. The name of the file you submit should be lastname_firstname_AS03.ipynb.

Do not clear your results after your last run so that I will be able to see your results without rerunning your file.

If you collaborate with anyone on this assignment, be sure to follow the collaboration guidelines in the syllabus including listing with whom you collaborated in your ipynb file.

While collaboration is fine, DO NOT submit exactly the same file as your collaborations. Your code and your discussion must be your own.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSC30100 Project 3[Solved] CSC30100 Project 3
$25