function gv = g(x) gv=cos(x); endfunction