Evaluate Equation - Java Quiz Question


Write a program to get the value of y for a given x where

y = 4x^2 - 22x + 129; // x^2 is x square



class Function1
{
    public static void main(String s[])
    {
        System.out.println("When x = 5, y is " + calculateY(5) );

    }


    public static int calculateY(int x)
    {
        int y = 0;
        return y;
    }

}