Search for question
Question

Consider the linear equation Y^{\prime}(x)=\lambda Y(x)+(1-\lambda) \cos (x)-(1+\lambda) \sin (x), q u a d Y(0)=1 The true solution is Y (x) = sin(x)+cos(x). Solve this problem using Euler's method with

several values of A and h, for 0 < x < 10. Comment on the results. a) = -1: h = 0.5.0. 25. 0.125. )\= 1; h = 0.5, 0.25, 0.125 \ = -5; h = 0.5, 0.25, 0.125, 0.0625II 1) A = 5; h = 0.0625

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7