我正在尝试编写这个公式(标准偏差):
____________
δ =√∑(xi - µ)2
n
我的html代码是:
<table border="0" cellspacing="0" cellpadding="0" width="180">
<tr>
<th width="180" colspan="3"><p align="center"><strong>Population Standard Deviation</strong></p></th>
</tr>
<tr>
<td width="40" valign="top"><p align="center"> </p></td>
<td width="50" rowspan="4"><p align="right">√</p></td>
<td width="90" valign="bottom"><p align="left">__________</p></td>
</tr>
<tr>
<td width="60" rowspan="2"><p align="centre"><strong> δ =</strong></p></td>
<td width="90"><p align="center"><strong>∑(x<sub>i</sub> -µ)<sup>2</sup></strong></p></td>
</tr>
<tr>
<td width="90"><p align="center">n</p></td>
</tr>
我面临的挑战是让公式处于有利位置。我在想行高会有所帮助,但进一步阅读行和列跨度会使它无效。那么我怎样才能最好地呈现这个公式呢?在总和(第 3 行)正下方添加分割线时,我也遇到了挑战。我尝试使用 CSS,但这意味着下标和上标都带有下划线。还有更好的代码吗?谢谢。