Question: Consider the same ODE as in Example 6.3 but use a Neumann boundary condition on the left boundary, e.g., Example 6.3 Develop a MATLAB code

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.

dy dx |x=-1 = 10 (6.3.29)

Step by Step Solution

3.46 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In this case the form of the equations for the interior nodes and the right boundary are the same as ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Numerical Methods With Chemical Engineering Applications Questions!