Solution:
Concept: The cube identities: (a+b)3=a3+b3+3ab(a+b) and (a−b)3=a3−b3−3ab(a−b). Written out in full, (a+b)3=a3+3a2b+3ab2+b3 and (a−b)3=a3−3a2b+3ab2−b3.
Step 1 — Part (i): 104 cubed.
We write 104 as 100+4 and use (a+b)3=a3+3a2b+3ab2+b3.
(104)3=(100+4)3=1003+3(100)2(4)+3(100)(4)2+43=10,00,000+1,20,000+4,800+64=11,24,864
Step 2 — Part (ii): 97 cubed.
We write 97 as 100−3 and use (a−b)3=a3−3a2b+3ab2−b3.
(97)3=(100−3)3=1003−3(100)2(3)+3(100)(3)2−33=10,00,000−90,000+2,700−27=9,12,673
Watch out: In (a−b)3 the signs alternate: −3a2b, then +3ab2, then −b3.
Therefore, (i) (104)3 is 11,24,864; (ii) (97)3 is 9,12,673.