Changes between Version 10 and Version 11 of u/ehansen/buildcode
- Timestamp:
- 10/31/11 19:01:27 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/ehansen/buildcode
v10 v11 51 51 Just looking at the right hand side of (8)...the first term can be rewritten just by using the definition of cell average that we defined in (2), and since the flux integrands are now constants, those integrals can be simplified. The final equation reads: 52 52 53 [[latex($U_{i}^{n+1} =U_{i}^{n}+\frac{\Delta t}{\Delta x}[F(U_{i-\frac{1}{2}}(0))-F(U_{{i+\frac{1}{2}}(0))\hspace{1 in} (9)$)]]53 [[latex($U_{i}^{n+1} = U_{i}^{n} + \frac{\Delta t}{\Delta x}[F(U_{i-\frac{1}{2}}(0))-F(U_{i+\frac{1}{2}}(0))] \hspace{1 in} (9)$)]] 54 54 [[BR]] 55 55 == Program Outline ==