Question: Done in MATLAB with code please. Consider the following function: f(x, y) = x2 + xy - 36y + xe4x2 + 9 Allow the user
Done in MATLAB with code please.
Consider the following function: f(x, y) = x2 + xy - 36y + xe4x2 + 9 Allow the user to input values for both x and y as scalars. Only allow the function to evaluate if the value of x is less than or equal to y. If the function is evaluated, display the value of x and y as well as the function evaluation result using a single instruction. If not. show an appropriate error message to the user and do not allow the function to be evaluated. Evaluate your code at the following points: x = 5, y = 5 x = 0.25, y = e^3x x = 0.2, y = Squareroot x - 0.01 x = 1, y = 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
