# HW5 - (a What goes wrong at Δ t = 2 Plot the backward...

This preview shows page 1. Sign up to view the full content.

MAT 421 Applied Computational Methods Prof. Gardner ( [email protected] ), Goldwater 654 Reading :S e c t ion s1 .1 ,1 .7 ,4 .1–4 .4 ,3 .1–3 .3 ,6 .1–6 .4 ,7 .1–7 .4o fMoler’s Nu- merical Computing with MATLAB . Homework 5 Due: Fri Feb 10 (1) Verify the formulas in ivp1.m for y (FE), y y 2(TR)for y ± = - y , starting from the standard form for the di±erence methods: y n +1 = y n tf ( y n )( F o r w a r d E u l e r ) y n +1 = y n tf ( y n +1 )( B a c k w a r d E u l e r ) y n +1 = y n +
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (a) What goes wrong at Δ t = 2? Plot the backward Euler & TR numerical solutions. (b) What do the results for Δ t = 2.1 illustrate? Plot the backward Euler & TR numerical solutions. (3) For du/dt = f ( u ), prove that the backward Euler method is ²rst-order accurate, using the de²nition of the local truncation error. Be sure to calcu-late the constant multiplying Δ t in the global error....
View Full Document

## This note was uploaded on 03/11/2012 for the course MAT 421 taught by Professor Staff during the Fall '11 term at ASU.

Ask a homework question - tutors are online