Question: x2 cos(7.cey) 6. (a) Enter the function g(x,y) = 1 + 26 +2 as an anonymous function (see pages 6 as and 7). Evaluate the

x2 cos(7.cey) 6. (a) Enter the function g(x,y) = 1 + 26 +2 as an anonymous function (see pages 6 as and 7). Evaluate the function at x=3 and y=7 by entering g(3, 7) in the command window. (b) Type clear g to clear the value of the function from part (a). Now write a function 22 cos(7.ce94) M-file for the function g(z,y) = 7+ . Save the file as g.m (include the M-file y ' _6 +2 in your report). Evaluate the function at x = 3 and y = 7 by entering g(3,7) in the command window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
