GATE 2021 ME (ME1) – Question 14
The ordinary differential equation $\frac{dy}{dt}=-\pi y$ subject to an initial condition $y(0)=1$ is solved numerically using the following scheme: $\frac{y(t_{n+1})-y(t_n)}h=-\pi y(t_n)$, where $h$ is the time step, $t_n=nh$, and $n=0,1,2,\ldots$. This numerical scheme is stable for all values of $h$ in the interval
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $0<h<2/\pi$
Explanation
The recurrence is $y_{n+1}=(1-\pi h)y_n$. Perturbations decay only when the amplification factor has magnitude below 1.
Solve $-1<1-\pi h<1$ to get **0<h<2/π (A)**. At the upper endpoint perturbations oscillate without decaying.