Find Maxima/Minima
Coding Problem Keys Find Maxima/Minima Problem Statement Implement the following function: def MaximaOrMinima(a, b, c): Quadratic equation: A quadratic equation is any equation having the form, ax ² + bx + c, where 'a' cannot be zero. The function accepts coefficients of a quadratic equation, 'a', 'b' and 'c' as its argument. Implement the function to find the maximum or minimum value of quadratic equation by substituting integer values x, where -100 <= x <= 100. Return the values as follow: If a > 0, return the minimum value of the equation. If a < 0, return the maximum value of the equation. Assumption: a is not equal to zero. Note: Computed value lies within integer range. Example 1 Input a: 1 b: 2 c: 1 Output 0 Explanation Since, (a > 0) output is the minimum value which is at x = -1, output = 1 * (-1) ² + 2 * (-1) + 1 = 0. The custom input format for the above case: 1 2 1 (Th...