Differential Geomtry in Sage

要输出漂亮的数学公式有几种方法: 1. 用pretty_print_default(); 2. 勾选会话上面的Typeset; 3. 用show()。 注意:要输出漂亮的数学公式,首先必须安装jsmath字体。Ubuntu用户直接在仓库里安装即可,Win用户到这里下载字体,然后解压,将字体文件拷贝到WINDOWS的Fonts目录即可。建议使用火狐浏览器,因为在ie里公式有些错位。
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{x^{3}}{y \sin\left(x\right)}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{x^{3}}{y \sin\left(x\right)}
|
x^3/(y*sin(x)) x^3/(y*sin(x)) |
|
|
|
|
|
例:求曲线C:x=\cos t,y=\sin t的相对曲率。
\newcommand{\Bold}[1]{\mathbf{#1}}1
\newcommand{\Bold}[1]{\mathbf{#1}}1
|
例:求曲线C:x=a\cos t,y=b\sin t的相对曲率。
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{a}{b {\left| b \right|}}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{a}{b {\left| b \right|}}
|
|
|
|
|
例:计算曲线C:r=(a\cos t,a\sin t,bt)的曲率。
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{a}{a^{2} + b^{2}}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{a}{a^{2} + b^{2}}
|
|
|
定义空间曲线的挠率:
|
|
例:计算曲线C:r=(a\cos t,a\sin t,bt)的挠率。
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{b}{b^{2} \sin\left(t\right)^{2} + b^{2} \cos\left(t\right)^{2} + a^{2}}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{b}{b^{2} \sin\left(t\right)^{2} + b^{2} \cos\left(t\right)^{2} + a^{2}}
|
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{b}{a^{2} + b^{2}}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{b}{a^{2} + b^{2}}
|
& {\beta}=\frac{({r}'\cdot{r}){r}''-({r}'\cdot{r}''){r}'}{\vert{r}'\vert\cdot\vert{r}'\times{r}''\vert},\\
& {\gamma}=\frac{{r}'\times{r}''}{\vert{r}'\times{r}''\vert}.\end{aligned}
\right.
|
|
X-x(t_{0}) & Y-y(t_{0}) & Z-z(t_{0})\\
x'(t_{0}) & y'(t_{0}) & z'(t_{0})\\
x''(t_{0}) & y''(t_{0}) & z''(t_{0})\end{array}\right|=0.
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}-{\left(b t - Z\right)} a^{2} \sin\left(t\right)^{2} - {\left(a \cos\left(t\right) - X\right)} a b \sin\left(t\right) - {\left({\left(b t - Z\right)} a \cos\left(t\right) - {\left(a \sin\left(t\right) - Y\right)} b\right)} a \cos\left(t\right) = 0
\newcommand{\Bold}[1]{\mathbf{#1}}-{\left(b t - Z\right)} a^{2} \sin\left(t\right)^{2} - {\left(a \cos\left(t\right) - X\right)} a b \sin\left(t\right) - {\left({\left(b t - Z\right)} a \cos\left(t\right) - {\left(a \sin\left(t\right) - Y\right)} b\right)} a \cos\left(t\right) = 0
|
|
|
曲线C:r=(x(t),y(t),z(t))在点t=t_0的法平面方程为:
|
|
例:求曲线C:r=(a\cos t,a\sin t,bt)的法平面方程。
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}Y a + Z b = 0
\newcommand{\Bold}[1]{\mathbf{#1}}Y a + Z b = 0
|
\newcommand{\Bold}[1]{\mathbf{#1}}{\left(a \cos\left(t\right) - X\right)} a \sin\left(t\right) - {\left(a \sin\left(t\right) - Y\right)} a \cos\left(t\right) - {\left(b t - Z\right)} b = 0
\newcommand{\Bold}[1]{\mathbf{#1}}{\left(a \cos\left(t\right) - X\right)} a \sin\left(t\right) - {\left(a \sin\left(t\right) - Y\right)} a \cos\left(t\right) - {\left(b t - Z\right)} b = 0
|
|
|