b></span> has to be repeated until a suitable set of parameters is found.</p><p>However, the procedure described above was probably not the method used by the ancient almanac makers to adjust the parameters. The adjustments were probably carried out while solving the equations using the <i>y&#462;nj&#236;</i> algorithm described below.</p><br><subsect id="yanji"><i>Y&#462;nj&#236;</i> Algorithm (演 紀 術)</subsect><p>The ancient Chinese used the <i>y&#462;nj&#236;</i> algorithm (演紀術) to solve the s