private String getSelectedOption()
    {
        String result="";
        switch(Equation.getSelectedIndex()+1)
        {
            case 1:
                result="f(x)";
                break;
            case 2:
                result="g(x)";
                break;
            case 3:
                result="a(x)";
                break;
            case 4:
                result="b(x)";
                break;
            case 5:
                result="c(x)";
                break;
            case 6:
                result="d(x)";
                break;
            case 7:
                result="e(x)";
                break;
        }
        return result;
    }