Question: (Polynomials and roundoff errors) This question is for the purpose of revision only. Not to submit for evaluation. I am preparing for my final exam.

(Polynomials and roundoff errors)

This question is for the purpose of revision only. Not to submit for evaluation.

I am preparing for my final exam.

Please let me know how such a task can be solved step by step using python code, in julia. Please help thanks.

This is for revision only!!

I need the code and screenshot for the output, because I will do it practically.

THIS IS NOT FOR CLASS EVALUATION, BUT FOR FINAL EXAM PREPARATION.

use julia to do the task, thanks once again.

(Polynomials and roundoff errors)This question is for the purpose of revision only.

P = X-> ( X. 48 - 40*x. 47 + 700*x. 46 - 7000*x. 45 + 43750*X. ^4 - 175000*x. 43 + 437500*x. ^2 - 625000*x .+ 390625) pe = x -> ( (x.-5).48 ) 1. 2 points. How are these polynomials related? 2. 5 points. In Julia, define X = 4: . 01:6. Plot p (x), pe (x). Plot abs. ((p(x) - pe(x) ) ./p(x) ) using a logarithmic scale on the y-axis (semilogy). Comment on your observations. 3. 5 points. Provide a method to estimate the magnitude of the roundoff errors in a simple way for this

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 Programming Questions!