九章算術
The methods of completing the squares and cubes as well as solving simultaneous linear equations listed in "The Nine Chapters on the Mathematical Art" can be regarded one of the major content of ancient Chinese mathematics. The discussion of these algorithms in "The Nine Chapters on the Mathematical Art" are very detailed. Through these discussions, one can understand the achievements of the development of ancient Chinese mathematics.