Question: Complete the function evaluate, which returns the value of the mathematical function f(x, y) = (3x+y) 4y3 + 2. Don't use integer division! Expected Results:

Complete the function evaluate, which returns the value of the mathematical function f(x, y) = (3x+y) 4y3 + 2. Don't use integer division! Expected Results: Function Call Return Value evaluate(-2, 4) 2.015625 evaluate(-5, -5) 1.2 evaluate(4, -4) 1.75 evaluate(-1, 5) 2.008 evaluate(-1, 2) 2.03125 [] def evaluate(x, y): pass # delete this line and start writing your code here # Test cases print (evaluate(-2, 4)) print(evaluate(-5, -5)) print(evaluate(4, -4)). print(evaluate(-1, 5)) print (evaluate(-1, 2))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
