# easy arithmetic calculation

Hi,
I'm interested in knowing what is the easiest way to compute something
like \sum_{i=0}^10{combination(i,40)*0.1^i*0.9^(40-i)} in debian (any
software available in debian).