where h is the width of the intervals, and yi are the "heights" of the function at each xi.
With 4 steps, we have: x0=0.00x1=0.25x2=0.50x3=0.75x4=1.00⇒y0=0.00⋅sin(0.00)=0.0000y1=0.25⋅sin(0.25)≈0.0619y2=0.50⋅sin(0.50)≈0.2397y3=0/75⋅sin(0.75)≈0.5112y4=1.00⋅sin(1.00)≈0.8415
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.