This section gives the solution to a specific system of linear equations.
Chinese source text: Version A, Version B, Version C, Version D.
Unless noted otherwise, I follow the text from Version D, 《知不足齋叢書》本.
Source text | Target text | Notes |
---|---|---|
今有獸六首四足、禽四首二足。上有七十六首、下有四十六足。 | Suppose there be beasts [with] six heads [and] four feet, [and] fowls [with] four heads [and] two feet. Above be there seventy-six heads; below be there forty-six feet. |
|
問禽獸各幾何。 | [We] ask, how many each [be the] fowls [and the] beasts? |
|
答曰、八獸七禽。 | Answer saith: eight beasts [and] seven fowls. | |
術曰、倍足以減首、餘、半之、即獸。 | Method saith: double [the] feet with [which] subtract of [the] heads; [the] remainder, halving it, is [the] beasts. |
|
以四乘獸減足、餘、半之、即禽。 | Subtract of [the] feet by four times [the] beasts; [the] remainder, halving it, is [the] fowls. |
|
Conway (2023). "Sun Tzŭ's Computational Classic: Volume III §27". <https://yawnoc.github.io/sun-tzu/iii/27> Accessed yyyy-mm-dd.