A routine approximates the solution to with using a variable increment rule: • Start with

MATHEMATICS · Single correct · AP · Calculus BC · Differential Equations · Differential Equations

Problem

A routine approximates the solution to y′=x+y2y'=x+y^{2} with y(0)=0y(0)=0 using a variable increment rule: • Start with h1=0.20h_1=0.20. • After each accepted step, set the next increment hk+1=0.9hkh_{k+1}=0.9h_k if ∣f(xk,yk)∣>1|f(x_k,y_k)|>1, and hk+1=1.1hkh_{k+1}=1.1h_k otherwise, subject to 0.05≤hk+1≤0.300.05\le h_{k+1}\le0.30. After two accepted steps the program reaches x2=0.42x_2=0.42 with y2≈0.044y_2\approx0.044. Which value will the program use for the third increment h3h_3? (a) 0.180.18 (b) 0.300.30 (c) 0.240.24 (d) 0.220.22

Related theory

Browse the problem library