Home / Expert Answers / Other Math / problem-3-consider-the-function-f-x-y-x-1-2-0-5-y-1-2-xy-2x-3y-1-plot-the-func-pa121

(Solved): . Problem 3: Consider the function f (x, y) = (x 1)2+ 0.5(y 1)2+ xy + 2x + 3y 1) Plot the func ...



. Problem 3: Consider the function
f (x, y) = (x ?1)2+ 0.5(y ?1)2+ xy + 2x + 3y
1) Plot the function using either Python’s plotting (this means you
have to google “python surface plot” or “python plot two variable
function”) or an online app like Demos or Microsoft 3d plotter. Do
you think the function has a maximum? A minimum?
2) Compute the gradient.1
3) What is the system of equations for finding the max/min?
4) Are you able to solve the system of equations by hand? If not,
explain what you tried.



We have an Answer from Expert

View Expert Answer

Expert Answer


1) Given, f(x,y)=(x?1)2+12(y?1)2+xy+2x+3y The python code for plotting: import numpy as np import matplotlib.pyplot as plt def f(x,y): return (x-1)**2
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe