function z = ex2(x) z = sin(x);