Question: Write an m-file to evaluate the following complex function z = e^x + iy for the interval -1 lessthanorequalto X lessthanorequalto 1 and -2 pi

Write an m-file to evaluate the following complex function z = e^x + iy for the interval -1 lessthanorequalto X lessthanorequalto 1 and -2 pi lessthanorequalto y lessthanorequalto 2 pi. Use 50 points in both the x and y direction. Create a mesh, surface, and contour plot of the function. In each case, plot the real part of z versus x and y. Add appropriate axis labels and titles. An ellipsoid of revolution is the solid analog of a two-dimensional ellipse. The equations for an ellipsoid of revolution rotated around the x-axis are X = a cos(phi) sin(theta) y = b cos(phi) sin(theta) z = b sin(phi) Write an m-file to evaluate the following complex function z = e^x + iy for the interval -1 lessthanorequalto X lessthanorequalto 1 and -2 pi lessthanorequalto y lessthanorequalto 2 pi. Use 50 points in both the x and y direction. Create a mesh, surface, and contour plot of the function. In each case, plot the real part of z versus x and y. Add appropriate axis labels and titles. An ellipsoid of revolution is the solid analog of a two-dimensional ellipse. The equations for an ellipsoid of revolution rotated around the x-axis are X = a cos(phi) sin(theta) y = b cos(phi) sin(theta) z = b sin(phi)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
