Hi, I originally posted this is Calculus (it was my first post, probably a mistake, maybe still a mistake to post here, I am not sure). I tried to get help in Chat, but it wasn't coming up, and I tried to post in the Questions/Comments section, but I wasn't allowed. So, I realize I am somewhat double posting here, so I apologize.

Let's say I have:

N = Σ Σ p^a * q^b ...for p = 0 to 1 (non-inclusive), q = 0 to 1 (non-inclusive), and a = very large number, b = very large number

D = Σ r^c ...for r = 0 to 1 (non-inclusive), and c = very large number

and, I want to take N/D

However, because a,b,c are all very large, I'd like to take these into logarithms in order to make it tractable on a computer.

So, I can do:

N = Σ Σ e^(a*log(p) + b*log(q))

D = Σ e^(c*log(r))

and, then I can take N/D

This is equivalent, but still does not solve the computer limitation problem, since I have to take e^ before dividing N and D, and the computer just says those are 0

So, I'd like to do something like the following, but it doesn't seem right. This is where I am getting hung up

N/D = Σ Σ Σ e^(a*log(p) + b*log(q) - c*log(r))

This doesn't seem to be equivalent. In fact, I know it's not equivalent, because you can't divide summations in that way. Is there a better way?

Thanks!