Hi Guys
I have the following formula:- capPO = capA * 2 ^ capB + capA * 2 ^ capB * capC * 0.25
capA = 50
capB is a number between 1 ~ 5
capC is a number between 1 ~ 5
If I do the following:-
I have the following formula:- capPO = capA * 2 ^ capB + capA * 2 ^ capB * capC * 0.25
capA = 50
capB is a number between 1 ~ 5
capC is a number between 1 ~ 5
If I do the following:-
50 * 2 ^ 1 + 50 * 2 ^ 1 * 1 * 0.25 , I get 125. I am actually expecting an answer of 50 which I can do if I add brackets like this (
However if I do the following:- (50 * 2 ^ 1 + 50 * 2 ^ 1) * 1 * 0.25
.
50 * 2 ^ 1 + 50 * 2 ^ 1) * 2 * 0.25 [by changing capC only] , I get 100.
I am actually expecting an answer of 62.5.
My results for changing capC are:-
Me Actual
1 = 50 50
2 = 75 62.5
3 = 100 75
4 = 125 87.5
5 = 150 100
I can't change the formula however I just would like to know how the program is resolving the formula to give me the unexpected results in the list, where do I actually need to put the brackets to get what it is giving me?
Any help would be appreciated.
Maxi
My results for changing capC are:-
Me Actual
1 = 50 50
2 = 75 62.5
3 = 100 75
4 = 125 87.5
5 = 150 100
I can't change the formula however I just would like to know how the program is resolving the formula to give me the unexpected results in the list, where do I actually need to put the brackets to get what it is giving me?
Any help would be appreciated.
Maxi