15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5 Differential Equations<br />

two-point BVPs, i.e., problems where the solution sought on an interval<br />

must satisfy the boundary conditions<br />

gya ( ( ),<br />

yb ( )) = 0<br />

Unlike initial value problems, a boundary value problem may not have a<br />

solution, may have a finite number <strong>of</strong> solutions, or may have infinitely many<br />

solutions. As an integral part <strong>of</strong> the process <strong>of</strong> solving a BVP, you need to<br />

provide a guess for the required solution. The quality <strong>of</strong> this guess can be<br />

critical for the solver performance and even for a successful computation.<br />

There may be other difficulties when solving BVPs, such as problems imposed<br />

on infinite intervals or problems that involve singular coefficients. Often BVPs<br />

involve unknown parameters p that have to be determined as part <strong>of</strong> solving<br />

the problem<br />

y′ = fxyp ( , , )<br />

gya ( ( ), yb ( ),<br />

p) = 0<br />

In this case, the boundary conditions must suffice to determine the value <strong>of</strong> p .<br />

Boundary Value Problem Solver<br />

This section describes:<br />

• The BVP solver, bvp4c<br />

• BVP solver basic syntax<br />

• BVP solver options<br />

The BVP Solver<br />

The function bvp4c solves two-point boundary value problems for ordinary<br />

differential equations (ODEs). It integrates a system <strong>of</strong> first-order ordinary<br />

differential equations<br />

y′ = fxy ( , )<br />

on the interval [ a,<br />

b]<br />

, subject to general two-point boundary conditions<br />

bc( y( a) , yb ( )) = 0<br />

[ a,<br />

b]<br />

5-64

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!