Use finite differences to solve the boundary-value ordinary differential equation d2u/dx2 + 6du/dx u = 2

Question:

Use finite differences to solve the boundary-value ordinary differential equation
d2u/dx2 + 6du/dx – u = 2
With boundary conditions u(0) = 10 and u(2) = 1. Plot the results of u versus x. Use ∆x = 0.1.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Numerical Methods For Engineers

ISBN: 9780071244299

5th Edition

Authors: Steven C. Chapra, Raymond P. Canale

Question Posted: