I'm just wondering, because the app I built does a pretty long equation, and the result is a different than when it's done on an Excel spreadsheet, where I got the equation. The difference gets higher the higher the input numbers are. Here is the equation that I entered in xcode:
360 * num1 * num3 * (1 - powf(14.9 / num1, 0.286))
(num1 and num3 are the input numbers).
Here is the Excel calculation:
=360*R9*R11*(1-((R10/R9)^0.286))
(R9
is equal to num1
, and R11
is equal to num3
and R10
is 14.9)
I don't see a difference in the equations, but if you do, please point it out. My quess it one of the two (probably the ob-c one) is doing something different than what I expected.