在段落元素的属性的第一个字符后插入隐藏的ID。 我在下面给出了输入和输出。
输入:
<p class="body-para-text" data-indexid="c0001-p0045">
Linear equations have been around for over 4000 years. A simple
<span class="inline-formula">
<mml:math xmlns="http://www.w3.org/1998/Math/MathML">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>×</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</span>
linear equation system with two unknowns was first solved by the Babylonians. Around 200 BC, the Chinese demonstrated the ability to solve a
<span class="inline-formula">
<mml:math xmlns="http://www.w3.org/1998/Math/MathML">
<mml:mrow>
<mml:mn>3</mml:mn>
<mml:mo>×</mml:mo>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:math>
</span>
system of equations. However, it wasn’t until the 17th century that progress was made in linear algebra by the inventor of calculus,
<primary>
<lev1>Leibniz</lev1>
</primary>
Leibniz. This was followed by work by
<primary>
<lev1>Cramer, Gabriel</lev1>
</primary>
Cramer, and later
<primary>
<lev1>Gauss, Carl Friedrich</lev1>
</primary>
Gauss. Linear equations themselves were invented in 1843 by Irish mathematician Sir William Rowan
<primary>
<lev1>Hamilton, William Rowan</lev1>
</primary>
Hamilton. He made important contributions to mathematics and his work was also used in quantum mechanics. Sir William Hamilton was reputedly a genius: at the young age of
<span class="inline-formula">
<mml:math xmlns="http://www.w3.org/1998/Math/MathML">
<mml:mrow>
<mml:mn>13</mml:mn>
</mml:mrow>
</mml:math>
</span>
, he reportedly spoke
<span class="inline-formula">
<mml:math xmlns="http://www.w3.org/1998/Math/MathML">
<mml:mrow>
<mml:mn>13</mml:mn>
</mml:mrow>
</mml:math>
</span>
languages, and at
<span class="inline-formula">
<mml:math xmlns="http://www.w3.org/1998/Math/MathML">
<mml:mrow>
<mml:mn>22</mml:mn>
</mml:mrow>
</mml:math>
</span>
he was a professor at the University of Dublin. His work (...)
</p>
预期产量: L \ hiddenText {ID:c0001-p0045} inear方程已经存在4000多年了。巴比伦人首先解决了一个带有两个未知数的简单的2乘2 2线性方程组。大约在公元前200年,中国人展示了解决3×3美元方程组的能力。然而,直到17世纪,微积分的发明者\ index {Leibniz} Leibniz才在线性代数方面取得了进步。随后是\ index {Cramer,Gabriel} Cramer和后来的\ index {Gauss,Carl Friedrich} Gauss。线性方程本身是1843年由爱尔兰数学家William Rowan爵士\ index {Hamilton,William Rowan} Hamilton发明的。他为数学做出了重要贡献,他的工作也用于量子力学。威廉·汉密尔顿爵士据说是个天才:年仅13美元的他据说会讲13美元的语言,而22美元的他是都柏林大学的教授。考虑到在许多情况下两个变量之间存在直接关系,他的工作已应用于许多领域。典型的例子是将水以恒定的速率添加到水箱中,或以每公里恒定的速率收取滑行费用。可以使用线性方程式对出租车成本进行建模,以比较一家出租车公司与另一家出租车公司。收支平衡点是指每个出租车公司的成本相同的点。这是两个线性图相交的点,可以使用图形技术或联立方程的替换或消除技术找到它。