Question: I need this in 1.5 hours please help write the codes in jupyter notebook or kaggle and show it works.For this question, please upload a

I need this in 1.5 hours please help write the codes in jupyter notebook or kaggle and show it works.For this question, please upload a Python notebook file with Q1.ipynb file name for (a),(c), (d), and upload a hand-made solutionfor (b).

I need this in 1.5 hours please help write the codes in

Q1. In a Python notebook, import the libraries given below: from math import exp import numpy as np import matplotlib.pyplot as plt Start a random number generator sequence by using your student id: np.random.seed (240209012) Generate 7 unique random integers between 1 and 21. Use these integers as line numbers for the table below and pick the corresponding lines to construct your personalized data table. i y 1 -10 -5.807 2 -9 -4.218 3 -8 -1.949 -7 -3.964 5 -6 -2.227 6 -5 -2.702 7 -4 -2.353 8 -3 -1.144 9 -2 -2.039 10 -1 -0.002 11 0 -0.997 12 1 0.012 13 2 0.061 14 3 -0.814 15 4 1.423 16 5 -1.192 17 6 2.377 7 1.166 19 8 2.211 20 9 4.548 21 10 5.213 WNO 0000W NHH 0 0 0 O NN Use your data table including randomly selected 7 lines. (a) Fit a 3rd order polynomial to your data. (b) Find the analytical derivative of this function. (C) Once you have the function itself and the derivative, use Newton-Raphson method to find the roots of this function. (d) Use iteration method to find the roots of the derivative function. Q1. In a Python notebook, import the libraries given below: from math import exp import numpy as np import matplotlib.pyplot as plt Start a random number generator sequence by using your student id: np.random.seed (240209012) Generate 7 unique random integers between 1 and 21. Use these integers as line numbers for the table below and pick the corresponding lines to construct your personalized data table. i y 1 -10 -5.807 2 -9 -4.218 3 -8 -1.949 -7 -3.964 5 -6 -2.227 6 -5 -2.702 7 -4 -2.353 8 -3 -1.144 9 -2 -2.039 10 -1 -0.002 11 0 -0.997 12 1 0.012 13 2 0.061 14 3 -0.814 15 4 1.423 16 5 -1.192 17 6 2.377 7 1.166 19 8 2.211 20 9 4.548 21 10 5.213 WNO 0000W NHH 0 0 0 O NN Use your data table including randomly selected 7 lines. (a) Fit a 3rd order polynomial to your data. (b) Find the analytical derivative of this function. (C) Once you have the function itself and the derivative, use Newton-Raphson method to find the roots of this function. (d) Use iteration method to find the roots of the derivative function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!