Question: Using Matlab: Let f be the function given by f(x) ={ x + y: x >/ 0,y >/ 0 x + y^2: x >/ 0,y
Using Matlab:

Let f be the function given by f(x) ={ x + y: x >/ 0,y >/ 0
x + y^2: x >/ 0,y
x^2 + y: x / 0
x^2 + y^2: x
Notice that f is a surface in R3. Using only logicals and normal vector algebra, write f as an anonymous function of two variables x and y. Graph using meshgrid and one of the surf commands (surf by itself should work). Though f is de?ned for all real numbers, your x coordinate values should be 40 equally spaces points between ?8 and 8 and your y coordinate values should be 50 equally spaced points between ?10 and 10. Make sure you give you graph a title and appropriate labels.
2. Let f be the function given by Notice that f is a surface in R. Using only logicals and normal vector algebra, write fas an anonymous function of two variables r and y. Graph using meshgrid and one of the surf commands (surf by itself should work). Though is delined for a real numbers, your r coordinate valucs should be 40 equally spaces points between-8 and 8 and your y coordinate values should be 50 equally spaced points between -10 and 10. Make sure you give you graph a title and appropriate labels
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
