For matlab
Create a meshgrid for x and y
[X,Y] = meshgrid(-2:0.25:2) %Create a 2-D grid with uniformily spaced x-coordinates and y-coordinates in the interval [-2,2].
F = 1 / (1 + X.^2 + Y.^2 + X. + X. * Y.)
surf(X,Y,F) %Plots the surface graph of the given function
contour(X,Y,F) % Plots the contour graph of the given function
s = fminsearch(F,1) % calculate the local minima of the function F near 1 and stores that value in s
For excel
The solved value is stored at a specified cell
2) Use the function h(x,y)= as follows: 1+x2+y2+x+xy 2 2D optimization utilizing Excel · Produce a...
4. Following optimization problem is given as follows: Max z= x + y + xy + 25 subject to xy = 9 and x>0, y =0 where x, y E R a) Is this linear model or not? (Explain) What is the optimum value of x in this model? What is the optimum value of y in this model? What is the optimum value of z in this model? c)
Question 3. Consider the function h: R3 → R h(x, y, 2) = (x2 + y2 + 2) +3/(x2 + 2xy + y) (a) What is the maximal domain of h? Describe it in words. (it may help to factor the denominator in the second term) > 0 for any a, (b) It is difficult to immediately find the range of h. Using the fact that a show that h cannot take negative values. Can h be an onto function?...
2. Find the slope of the tangent line to f(x, y) 6-x2 + xy - y2 at (4, 2), toward the point (7, 1). Then find the maximum slope and its direction
2. Find the slope of the tangent line to f(x, y) 6-x2 + xy - y2 at (4, 2), toward the point (7, 1). Then find the maximum slope and its direction
3. Verify Stokes' Theorem for the vector field F(x, y, z)= (x2)ĩ+(y2)]+(-xy)k where S is the surface of the cone +y parametrized by (u,v)-(ucos v, u sin v, hu) x2+y2 a at height h above the xy-plane Z = a V 0<vsa, OSvs 2n, and as is the curve parametrized by ē(f) =(acost,asint, h), 0sis27 as x2+ a
3. Verify Stokes' Theorem for the vector field F(x, y, z)= (x2)ĩ+(y2)]+(-xy)k where S is the surface of the cone +y parametrized...
QUESTION 2 Find lim xy +1 (x, y)*(0,0) x2 +y2-1 O-1 O 2 00 O Does not exist.
9) Find the absolute maxima and minima of the function f(x,y) = x2 + xy + y2 on the square -8 < x,y 5 8
Problem 2: Create a surface plot and a contour plot of the function f(x, y) = xe-I(x-y2)*+y?] Where -2 x 2 and -2 < y s 2. Use a step size of 0.1. Add labels to the axis
Problem 2: Create a surface plot and a contour plot of the function f(x, y) = xe-I(x-y2)*+y?] Where -2 x 2 and -2
which of the following is a potential function for F(x,y,z)= < y2 +y?ex?,x2 + 2ye*?,xy + xy?e *V> f(x,y,z) = xyz + y2exyz f(x,y,z) = xyz + y2e*+2 b. F(x,y,z) has a potential function but it is not one of the other choices. F(x,y,z) does not have a potential function. d. f(x,y,z) = xyz + y2exZ e.
(1 point) The region W lies below the surface f(x,y) = 7e-(æ=3)*"-y* and above the disk x2+y2 < 36 in the xy-plane. (a) Think about what the contours of f look like. You may want to using f(x,y) = 1 as an example. Sketch a rough contour diagram on a separate sheet of paper. (b) Write an integral giving the area of the cross-section of W in the plane = 3. d Area = and b where a= (c) Use...
6 (20 pts). Let F(x, y, z) = x2 + y2 + x2 - 6xyz. (1) Find the gradient vector of F(x, y, z); (2) Find the tangent plane of the level surface F(x, y, z) = x2 + y2 + x2 - 6xyz = 4 at (0, 0, 2); (3) The level surface F(x, y, z) = 4 defines a function z = f(x,y). Use linear approxi- mation to approximate z = = f(-0.002,0.003).