AMME2000_AMME2960_Assignment1.pdf - AMME2000\/2960 Assignment 1 Due 11:59 pm Thursday 29th March Assignment Information This assignment is split in two

AMME2000_AMME2960_Assignment1.pdf - AMME2000/2960...

This preview shows page 1 - 2 out of 3 pages.

AMME2000/2960 - Assignment 1 Due: 11:59 pm Thursday 29 th March Assignment Information This assignment is split in two sections. You are to write a report summarising your results in a Word Document or PDF, this means no handwritten answers whatsoever. 10% of the assignment marks are allocated to report formatting and presentation. The report should not exceed 1000 words, any additional words will not be marked. All figures and tables in the report must be num- bered and discussed. An electronic copy of the report should be submitted to Turnitin by 11:59 pm Thursday 29 th March. Late submissions will be deducted 5% per day late. Section 1: Taylor Series ApproximationsIn this section of the assignment you are required to compute, analyse and discuss the accuracy oftwo numerical approximations to the second derivative of the function;f(x) = tanh(x)(1)The two approximations you will consider are a 4-point and 5-point finite difference stencil:fxx(xi)-fi-3+ 4fi-2-4fi-1+fi+1x2+(2)fxx(xi)-fi-2+ 16fi-1-30fi+ 16fi+1-fi+212Δx2+(3)where Δxis the grid spacing,fi=f(xi) andis the truncation error. For the written report:1. Use the Taylor Series expansion to derive the leading order error for both of the stencilsprovided.Leave your final solution in terms of Δx.Make sure you take into account thecorrect sign of your answer! (15%)2. Write two Matlab functions to evaluate the two numerical stencils over the domain
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 3 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture