Repeat Q1 with_Ax=0.05, 0.025, 0.0123 and determine whether the convergence with Ax is consistent with the leading term
Posted: Mon May 02, 2022 12:40 pm
Repeat Q1 with_Ax=0.05, 0.025, 0.0123 and determine whether the convergence with Ax is consistent with the leading term or the truncation error. Double precision may be required to resolve the error associated with scheme (c). Question 1 is shown below. For y=sin x/2 obtain dy/dx at x=0.5 with Ax=0.1 using: dy yj+1 – Yj-1, (a) dx 24x dy - 9j+1-Yj, Yj (b) dx Δx (c) dy Yj-2–8y;-1 +8y;+1 – 9j+2 dx 124x