Link to home
Start Free TrialLog in
Avatar of turtleman2009
turtleman2009

asked on

Apples to Apples?

Are these two formulas the same? I have never used exponents in programming before and I'm not sure if I did it correct.


Original:
newcal=[(cwaist+1) x meters^3.2] x 40


PHP version:
$newcal=(($cwaist +1) * pow($meters, 3.2)) * 40;
ASKER CERTIFIED SOLUTION
Avatar of Pratima
Pratima
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of turtleman2009
turtleman2009

ASKER

Thanks