A cube plus B cube

a^{3}+b^{3}=(a+b)(a^{2}+b^{2}-ab)

for example lets consider

a=3 and b = 2

a3 + b3 = 33 + 23

             = 27 + 8

             = 35

(a+b)(a2+b2 - ab) = (3+2)(32 + 22 - 3 x 2)

                             = 5(9 + 4 - 6)

                             = 35

Therefore LHS = RHS 

Calculate a3 + b3

Formula : a3 + b3 = (a + b)(a2 + b2 - ab)

Input

Reset

Output

Result {{result}}
Posted on by