jQuery calculation returning unexpected result...

jQuery calculation returning unexpected result...

Trying to use the formula below... The outputted value should be $8055.30, but I keep getting $5065.22...

Here are the values for the input fields I'm using in the formula below:

e1 = 2842.33
e2 = 2675
a5 = 46

function g1() {
                $("[id=g1]").calc(
                        "(((e1 + e2) * a5)/100)+(e1+e2)",
                        {
                                e1: $("input[name=e1]"),
                                e2: $("input[name=e2]"),
                                a5: $("input[name=a5]")
                        },
                        function (s){
                                if(s > 0) {
                                        return "$"+s.toFixed(2);
                                } else {
                                        return "$0.00";
                                }

                        },
                        function ($this){
                        }
                );
        }