sol_assign3 - MAT1332A - Calculus for the Life Sciences II...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MAT1332A - Calculus for the Life Sciences II - Fall 2009 Solutions to Assignment 3 (1) (a) [5 points] Check that z ( t ) = 1+ 1 + 2 t is a solution of the autonomous differential equation dz dt = 1 z- 1 with initial condition z (0) = 2. (b) [7 points] Estimate z (4) if z obeys the differential equation dz dt = 1 z- 1 with initial condition z (0) = 2. Use Eulers method with t = 1 for four steps. Compare with the exact answer in (a). Solution: (a) We need to verify that the function z defined by z ( t ) = 1 + 1 + 2 t satisfies dz dt = 1 z- 1 and the initial condition z (0) = 2. In fact, dz dt = d dt (1 + 1 + 2 t ) = 2 2 1 + 2 t = 1 1 + 2 t = 1 (1 + 1 + 2 t )- 1 = 1 z- 1 and z (0) = 1 + 1 + 2 0 = 2 . (b) By Eulers method, we have z (1) z (1) = z (0 + t ) = z (0) + z (0) t = 2 + 1 2- 1 1 = 3 z (2) z (2) = z (1 + t ) = z (1) + z (1) t 3 + 1 3- 1 1 = 7 2 z (3) z (3) = z (2 + t ) = z (2) + z (2) t 7 2 + 1 7 2- 1 1 = 7 2 + 2 5 = 39 10 z (4) z (4) = z (3+ t ) = z (3)+ z (3) t 39 10 + 1 39 10- 1 1 = 39 10 + 10 29 = 1231 290 4 . 25 On the other hand, by (a), we know that the precise solution is z ( t ) = 1 + 1 + 2 t , that is, z (4) = 1 + 1 + 2 4 = 4 < 4 . 25 z (4). So Eulers method gives an error of about 0 . 25....
View Full Document

Page1 / 4

sol_assign3 - MAT1332A - Calculus for the Life Sciences II...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online