I’m writing a software which requires me to calculate percentages, modify them and probability.
For example, for two percentages; % 83.3 and % 80
The probability is:
(83.3 x 80) / 100 = % 66.6
If I modify this result by adding % 10 of it’s value it becomes: 66.6 + 6.66 = 73.26
Now the equation becomes:
(83.3 + 80) / 100 = % 73.26
My question is, how can I calculate the new percentages of % 83.3 and % 80 to fit the new result and keep correct ratio between them?
I am not even sure if it’s correct, but I tried modifying the probabilities by doing:
100 – 83.3 = 16.7, 100 – 80 = 20, 100 – 66.6 = 33.4
Added % 20 of this values to the main percentages:
(16.7 x 20) / 100 = 3.34 à 83.3 + 3.34 = 86.64
(20 x 20) / 100 = 4 à 80 + 4 = 84
(33.4 x 20) / 100 = 6.68 à 66.6 + 6.68 = 73.28
Probability becomes:
(86.64 x 84) / 100 = % 72.77
As can be seen 72.77 is not equal to 73.28
I’m sure there is a right way to do it, but I can’t seem to find it.
For example, for two percentages; % 83.3 and % 80
The probability is:
(83.3 x 80) / 100 = % 66.6
If I modify this result by adding % 10 of it’s value it becomes: 66.6 + 6.66 = 73.26
Now the equation becomes:
(83.3 + 80) / 100 = % 73.26
My question is, how can I calculate the new percentages of % 83.3 and % 80 to fit the new result and keep correct ratio between them?
I am not even sure if it’s correct, but I tried modifying the probabilities by doing:
100 – 83.3 = 16.7, 100 – 80 = 20, 100 – 66.6 = 33.4
Added % 20 of this values to the main percentages:
(16.7 x 20) / 100 = 3.34 à 83.3 + 3.34 = 86.64
(20 x 20) / 100 = 4 à 80 + 4 = 84
(33.4 x 20) / 100 = 6.68 à 66.6 + 6.68 = 73.28
Probability becomes:
(86.64 x 84) / 100 = % 72.77
As can be seen 72.77 is not equal to 73.28
I’m sure there is a right way to do it, but I can’t seem to find it.