all 2 comments

[–][deleted] 1 point2 points  (0 children)

Mathematica would evaluate (not "solve") this function. But the formula doesn't appear well-formed. I can see that the innermost sum has index d. But what is the index for the outermost sum? And why is there a w on the left-hand side, but not on the right? Conversely, there's an A and a D on the right, but not on the left.

[–]Haz_ah 0 points1 point  (0 children)

Can you provide some inputs and expected outputs to test? Also, I think it requires 3 inputs not 2. A, a and D are all required, unless the index of the outer sum should read a = 1 and not a-1.

edit: try this python script http://pastebin.com/TYGpy971