{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

mae107 hw6

# mae107 hw6 - MAE 107 Homework 6 Numerical Methods in...

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

MAE 107 - Homework # 6 Numerical Methods in Engineering Prof. Alison Marsden Due date: Monday May 16, 2011 Problem 1 The following tridiagonal system must be solved as part of a larger algorithm (Crank-Nicolson) for solving partial differential equations: 2 . 01475 - 0 . 020875 - 0 . 020875 2 . 01475 - 0 . 020875 - 0 . 020875 2 . 01475 - 0 . 020875 - 0 . 020875 2 . 01475 × T 1 T 2 T 3 T 4 = 4 . 175 0 0 2 . 0875 Use the Thomas algorithm (develop a code in Matlab) to obtain a solution. Problem 2 Recall from HW 4, Problem 8, that the following system of equations is designed to determine concentrations (the c ’s in g / m 3 ) in a series of coupled reactors as a function of the amount of mass input to each reactor (the right-hand sides in g/day), 15 c 1 - 3 c 2 - c 3 = 3300 - 3 c 1 + 18 c 2 - 6 c 3 = 1200 - 4 c 1 - c 2 + 12 c 3 = 2400 Solve this problem with the Gauss-Seidel method to s = 5% using Matlab (you need to write a function that performs Gauss- Seidel). Problem 3 Repeat Problem 2, but use Jacobi iteration (again, you need to implement this method in Matlab).

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern