Consider the same ODE as in Example 6.3 but use a Neumann boundary condition on the left

Question:

Consider the same ODE as in Example 6.3 but use a Neumann boundary condition on the left boundary, e.g.,dy dx |x=-1 = 10 (6.3.29)


Example 6.3

Develop a MATLAB code to solvedy dx = -2y(1-2y), y(-1)=-1, y(1) = 1 (6.3.15)

for an arbitrary number of nodes.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: