WolframAlpha computational knowledge AI
sum from k=0 to n choose(n, k) * p^k * (1-p)^(n-k)*(k^2)