Consider the equation \((\frac{\partial u}{\partial y})_{i,j}=(\frac{u_{i,j}-u_{i,j-1}}{\Delta y})\) formulated using the Taylor series

Consider the equation \((\frac{\partial u}{\partial y})_{i,j}=(\frac{u_{i,j}-u_{i,j-1}}{\Delta y})\) formulated using the Taylor series expansion. Find the type of equation.
A. first-order forward difference
B. first-order rearward difference
C. second-order forward difference
D. second-order rearward difference
 
Answer: b
Explanation: The equation uses the terms u$_{i,j}$ and its rearward term u$_{i,j-1}$. So, it represents a rearward difference. The order of accuracy of the equation depends on its truncation error. The truncation error has the least order term \(\frac{-\Delta y}{2}\). So, it is first order accurate.
 

Tìm kiếm

Back
Top