Difference between revisions of "Fuller's Problem (Muscod)"

From mintOC
Jump to: navigation, search
m (SebastianSager moved page Fuller's Problem (C) to Fuller's Problem (Muscod) without leaving a redirect: Moved C to Muscod)
m (Moved C to Muscod)
 
Line 1: Line 1:
The differential equations for [[Fuller's problem]] in [[:Category:C | C code]] read as follows
+
The differential equations for [[Fuller's problem]] in [[:Category:Muscod | Muscod code]] read as follows
  
 
<source lang="cpp">
 
<source lang="cpp">

Latest revision as of 10:19, 28 January 2016

The differential equations for Fuller's problem in Muscod code read as follows

double myu = -1 + 2*u[0];
 
rhs[0] = xd[1];
rhs[1] = myu;
rhs[2] = xd[0]*xd[0];