Correct option is B
Given:
Sum of three numbers =18
Sum of their squares = 36
Formula Used:
a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ac)
(a+b+c)2=a2+b2+c2+2(ab+bc+ac)
Solution:
Let the number be x,y,z
Then according to question:
x+y+z=18
x2+y2+z2=36
a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ac)
For using this formula,, we need to find value of (ab+bc+ca)
For that we use x+y+z=18
Squaring both sides
(x+y+z)2=182
x2+y2+z2+2(xy+yz+xz)=324
36+2(xy+yz+xz)=324
2(xy+yz+xz)=324−36
(xy+yz+xz)=144
x3+y3+z3−3xyz=(x+y+z)(x2+y2+z2−xy−yz−xz)
x3+y3+z3−3xyz=(18)(36−(xy+yz+xz))
x3+y3+z3−3xyz=(18)(−108)
x3+y3+z3−3xyz=−1944