Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

Feel free to work on the assignment with other students in the class, however please write up your own work and code

Math Jul 23, 2022

Feel free to work on the assignment with other students in the class, however please write up your own work and code. All code must be turned in as a .IPYNB file AND a link to your Google Collab notebook. Code will not be graded without both of these. When you are asked to create a function to solve some problem, do not use some built-in function. Non-coding solutions may either be turned in as a PDF of handwritten work or a PDF of a INIBdocument. No file types other than PDF will be accepted. Please show all of your work. All problems or parts of problems are worth 10 points.

  1. (Coding) Make a table of the error of the three-point centered difference formula (f/ (x)
    f (x — h))/2h) where f (a;) — cos(x) — sin(x) where h 10—1 10—12 at 0. Draw a plot of the results. Does the minimum error correspond with the theoretical expectation?
  2. Show that

 

 + 0(h2 )

 

  1. Consider the integral em (IT.
  1. By hand, approximate the integral with composite Trapezoid rule with m How does this compare with the true value?
  2. By hand, approximate the integral with composite Simpson's rule with m How does this compare with the true value?

 

 1, 2, and 4 panels.

 

 

 1, 2, and 4 panels.

 

    1. By hand, approximate the integral with composite Romberg integration up to R3,3. How does this compare with the true value.
    2. By hand, approximate the integral with Gaussian Quadrature with 2, 3, and 4 points. How does this compare with the true value?
  1. (Coding) Create a Python function which takes as inputs a function f, numbers a, b, and an integer k and outputs composite Trapezoid rule with k points to approximate fa It can be helpful to check your code against 3a to make sure you get the same results.
  2. (Coding) Create a Python function which takes as inputs a function f, numbers a, b, and an integer k and outputs composite Simpson's rule with k points to approximate fa It can be helpful to check your code against 3b to make sure you get the same results.
  3. (Coding) Modify my code from lecture 5.4 to run with adaptive Simpson's rule rather than adaptive trapezoid rule.
  4. Show that if (x) — 5:r3 — 3m, then for any polynomial of the form q(x)           a:r 2 + bx + c that

1

 

 

—1

Extra Credit (Some Coding): Using techniques from this chapter computationally approximate to 10 decimal places using only addition, subtraction, multiplication, division, or powers. (Hint: Think geometrically).

Expert Solution

Archived Solution
Unlocked Solution

You have full access to this solution. To save a copy with all formatting and attachments, use the button below.

Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get 100% fresh solution
Get Custom Quote
Secure Payment