Sine and cosine — a.k.a., sin(θ) and cos(θ) — are functions revealing the shape of a right triangle. Looking out from a vertex with angle θ, sin(θ) is the ratio of the
正弦和余弦--又称sin(θ)和cos(θ)--是揭示直角三角形形状的函数。从角度为θ的顶点向外看,sin(θ)是
Look at the left-most figure above (the unit circle). The triangle's hypotenuse has length 1, and so (conveniently!) the ratio of its adjacent to its hypotenuse is cos(θ), and the ratio of its opposite to the hypotenuse is sin(θ). Therefore, by placing triangles at the point (0,0) of the x/y plane, the functions sin(θ) and cos(θ) can be found by recording the values of x and y for every θ. Below, click play to see this process unfold. Angles are in radians (i.e., π/4, π/2,...).
请看上面最左边的图(单位圆)。三角形的斜边长度为1,因此(很方便!)它的
Of course, computers and calculators don't actually draw circles to find sine and cosine. Instead, they use approximations like the Taylor series:
当然,计算机和计算器并不真正画圆来寻找正弦和余弦。相反,它们使用泰勒级数: 这样的近似方法。 \[\begin{aligned} \sin{\theta} = θ - \frac{\theta^3}{3!} + \frac{\theta^5}{5!} - \frac{\theta^7}{7!} \cdots \\ \cos{\theta} = 1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \frac{\theta^6}{6!} \cdots \end{aligned} \]
Using sine and cosine, it's possible to describe any (
使用正弦和余弦,可以将任何(