15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Initial Value Problems for ODEs and DAEs<br />

end<br />

0.8<br />

Restricted three body problem<br />

0.6<br />

0.4<br />

0.2<br />

y(t)<br />

0<br />

−0.2<br />

−0.4<br />

−0.6<br />

−0.8<br />

−1.5 −1 −0.5 0 0.5 1 1.5<br />

x(t)<br />

Example: Differential-Algebraic Problem<br />

hb1dae reformulates the hb1ode example as a differential-algebraic equation<br />

(DAE) problem. The Robertson problem coded in hb1ode is a classic test<br />

problem for codes that solve stiff ODEs.<br />

y′ 1 = – 0.04y 1 + 10 4 y 2 y 3<br />

y′ 2 0.04y 1 – 10 4 y 2 y 3 3 10 7 2<br />

=<br />

– ⋅ y 2<br />

y′ 3 3 10 7 2<br />

= ⋅ y 2<br />

5-35

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

Saved successfully!

Ooh no, something went wrong!