# SECTION 1.4# Example 1f := (x,y) -> evalf(x*sqrt(y)); #Define the function fh := 0.1;x0 := 1.; y0 := 4.;x1 := x0 + h;y1 := y0 + h*f(x0,y0);x2 := x1 + h;y2 := y1 + h*f(x1,y1);# Use a repetition statement ( a 'for' loop): x := x0: y := y0: #initialize x and yprint('n','x','y');print(0,x,y);# Review the syntax of the "for" statement?for for n from 1 to 5 doy := y + h*f(x,y):x := x + h:print(n,x,y);end do:# Example 2f := (x,y) -> evalf(y);x0 := 0; y0 := 1.;Numbersteps := [1,2,4,8,16];print('N','h','Approximation');for k from 1 to 5 doN := Numbersteps[k]:h := evalf(1/N):x := x0: y := y0:for n from 1 to N doy := y + h*f(x,y):x := x + h:end do:print(N,h,y); end do: