[SOLVED] CSC30100 Project 3

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Project03-ytzlkp.zip (143.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

 

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)=    (x−a)

(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.

 

  • Project03-ytzlkp.zip