Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

Which method of valuing a business is best? Why?

Answered: 1 week ago

Question

=+these objectives be pursued in practice?

Answered: 1 week ago