My question is :

Using Euler's method, solve the following di

erential equations. Determine the solu-

tion using a step size ofh = 0:5, between the interval x = [0; 2].For i., what is the absolute error and relative error for y1?

dy

dx = 2 sin x, y(0) = 2

I'm trying to find the intregral of 2sin(x) in order to calculate my constant.

Any help would be great with the whole question or even this part.