This section gives a worked example of dividing a given quantity into weighted portions.
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 coins six thousand nine hundred [and] thirty, [and we] wish to make two hundred [and] sixteen people construct nine shares [to] share them. | |
八十一人、人與二分、七十二人、人與三分、六十三人、人與四分。 | [For] eighty-one people, [each] person [is] given two shares; [for] seventy-two people, [each] person [is] given three shares; [for] sixty-three people, [each] person [is] given four shares. |
|
問三種各得幾何。 | [We] ask, how much getteth each of [the] three kinds? |
|
答曰、二分、人得錢二十二、三分、人得錢三十三、四分、人得錢四十四。 | Answer saith: [for] two shares, [each] person getteth coins twenty-two; [for] three shares, [each] person getteth coins thirty-three; [for] four shares, [each] person getteth coins forty-four. | |
術曰、先置八十一人於上、七十二人次之、六十三人在下。 | Method saith: first put [the] eighty-one people above, [the] seventy-two people next [after] it, [and the] sixty-three people below. | |
上位以二乘之、得一百六十二、次位以三乘之、得二百一十六、下位以四乘之、得二百五十二。 | [The] upper place, multiplying it by two, resulteth in one hundred [and] sixty-two; [the] next place, multiplying it by three, resulteth in two hundred [and] sixteen; [the] lower place, multiplying it by four, resulteth in two hundred [and] fifty-two. |
|
副并三位、得六百三十為法。 | Subsidiarily combining [the] three places, resulteth in six hundred [and] thirty as [the] divisor. | |
又置錢六千九百三十為三位。 | And put [down the] coins six thousand nine hundred [and] thirty as three places. | |
上位以一百六十二乘之、得一百一十二萬二千六百六十、又以二百十六乘中位、得一百四十九萬六千八百八十、又以二百五十二乘下位、得一百七十四萬六千三百六十、各為實。 | [The] upper place, multiplying it by one hundred [and] sixty-two, resulteth in one hundred [and] twelve myriad two thousand six hundred [and] sixty; and multiplying [the] middle place by two hundred [and] sixteen, resulteth in one hundred [and] forty-nine myriad six thousand eight hundred [and] eighty; and multiplying [the] lower place by two hundred [and] fifty-two, resulteth in one hundred [and] seventy-four myriad six thousand three hundred [and] sixty: each being [a] dividend. | |
以法六百三十各除之、上位得一千七百八十二、中位得二千三百七十六、下位得二千七百七十二。 | Dividing them each by [the] divisor six hundred [and] thirty: [the] upper place resulteth in one thousand seven hundred [and] eighty-two; [the] middle place resulteth in two thousand three hundred [and] seventy-six; [the] lower place resulteth in two thousand seven hundred [and] seventy-two. | |
各以人數除之、即得。 | Each dividing it by [its] number of people, [we] are done. |
Conway (2023). "Sun Tzŭ's Computational Classic: Volume II §24". <https://yawnoc.github.io/sun-tzu/ii/24> Accessed yyyy-mm-dd.