Which of these equations give the derivative of the function T at time t as given by the Crank-Nicolson scheme?

Which of these equations give the derivative of the function T at time t as given by the Crank-Nicolson scheme?
A. \(\frac{T(t+\Delta t)-T(t-\Delta t)}{2 \Delta t}\)
B. \(\frac{T(t+\Delta t)+T(t-\Delta t)}{2 \Delta t}\)
C. \(\frac{T(t+\Delta t)-T(t-\Delta t)}{\Delta t}\)
D. \(\frac{T(t+\Delta t)+T(t-\Delta t)}{\Delta t}\)
 
Answer: a
Explanation: The Crank-Nicolson scheme uses the previous and the next steps to get the derivative at the current step. Expressing it mathematically,
\(\frac{\partial T(t)}{\partial t} = \frac{T(t+\Delta t)-T(t-\Delta t)}{2 \Delta t}\).
 

Tìm kiếm

Back
Top