17.11.2012 Views

Numerical recipes

Numerical recipes

Numerical recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

722 Chapter 16. Integration of Ordinary Differential Equations<br />

}<br />

(*rkqs)(y,dydx,nvar,&x,h,eps,yscal,&hdid,&hnext,derivs);<br />

if (hdid == h) ++(*nok); else ++(*nbad);<br />

if ((x-x2)*(x2-x1) >= 0.0) { Are we done?<br />

for (i=1;i

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

Saved successfully!

Ooh no, something went wrong!