GATE / CS ARCHIVE

GATE CSE 1997 / QUESTION 4.3

Forward Euler with incomplete initial data

Engineering Mathematics & Other Topics · Numerical Methods · Full GATE CSE 1997 paper

GATE 1997, Q4.3 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 4.3, GATE 1997: For y″(t)=f (t), the source gives y (0)=0 and asks for the first four forward-Euler y values at step h. Forum prints an extra initial second-derivative condition.
Tap to enlarge
Your answer
Answer & solution

Answer: Underdetermined as printed; intended zero-slope sequence is 0, 0, h²f (0), h²[2f (0)+f (h)] (no official key was published)

Introduce v=y′. Forward Euler gives y[k+1]=y[k]+h v[k] and v[k+1]=v[k]+h f (kh). With v (0)=v0, the four grid values y(0), y(h), y(2h), y(3h) are 0, hv0, 2hv0+h²f (0), 3hv0+2h²f (0)+h²f (h). Thus the missing initial first derivative matters. Setting v0=0 gives the intended sequence near B, but the paper’ B omit the h² factor multiplying f (h).

Original paper, page 3