0
$\begingroup$

The title is probably horrible, but I couldn't think of a better sentence to describe what I'm attempting to do. I want to take the result of an equation made with 3 variables and then, with two of the variables, create the same number as if the third variable in the initial equation hadn't existed. Then, I want to find the percentage of each variable in the second equation. Once again, that was probably a terrible explanation, so here's an example.

result = a + b * c 

That's the initial equation. Now plugging in numbers:

result = 1+2*3 result = 7 

Now I want to be able to take 2 and 3 and make them add up to 7 somehow, then get the percentage of each in 7.

2/7=29% 3/7=43% 

As you can see, this doesn't add up to 100%. I need it to add up to 100%, but I have no clue how. If more explanation is needed, just ask.

  • 2
    Vote to close as not a real question. No responses to the answers provided.2011-06-11

2 Answers 2