计算几何:修订间差异
跳转到导航
跳转到搜索
创建页面,内容为“==海伦公式== 三角形三边长分别为 <math>a,b,c</math>,那么定义半周长 <math>p=\frac{a+b+c}{2}</math> 则三角形面积为 <math>\sqrt{p(p-a)(p-b)(p-c)}</math>” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
==欧几里得距离== | |||
- <math>(x_1,y_1)</math> 与 <math>(x_2,y_2)</math> 的距离为 <math>\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}</math> | |||
- <math>(x_1,y_1,z_1)</math> 与 <math>(x_2,y_2,z_2)</math> 的距离为 <math>\sqrt{(x_1-x_2)^2+(y_1-y_2)^2+(z_1-z_2)^2}</math> | |||
==海伦公式== | ==海伦公式== | ||
2026年2月11日 (三) 03:45的版本
欧几里得距离
- [math]\displaystyle{ (x_1,y_1) }[/math] 与 [math]\displaystyle{ (x_2,y_2) }[/math] 的距离为 [math]\displaystyle{ \sqrt{(x_1-x_2)^2+(y_1-y_2)^2} }[/math] - [math]\displaystyle{ (x_1,y_1,z_1) }[/math] 与 [math]\displaystyle{ (x_2,y_2,z_2) }[/math] 的距离为 [math]\displaystyle{ \sqrt{(x_1-x_2)^2+(y_1-y_2)^2+(z_1-z_2)^2} }[/math]
海伦公式
三角形三边长分别为 [math]\displaystyle{ a,b,c }[/math],那么定义半周长 [math]\displaystyle{ p=\frac{a+b+c}{2} }[/math]
则三角形面积为 [math]\displaystyle{ \sqrt{p(p-a)(p-b)(p-c)} }[/math]