跳转到内容

This page is also in English.

Read it in English

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

trig_expand 函数

展开角的和与倍数的三角函数。

怎么写

trig_expand(expr)

expr
任意表达式:一个数、一个公式、一个列表或一个矩阵。接受一个表达式。

示例

  • sin⁡(2x)=2sin⁡(x)cos⁡(x)\displaystyle \sin(2 x) = 2 \sin(x) \cos(x)
    trig_expand(sin(2x))

    在求解器中,trig_expand(sin(2x)) 的结果是 2sin(x)*cos(x)。

    在求解器中打开

示例中用到的函数

  • sin

    角度的正弦,角度以弧度计。

  • trig_reduce

    把三角函数的幂与乘积改写成多倍角的函数。

  • trig_to_exp

    把三角函数改写成复指数。

  • exp_to_trig

    把复指数改写为三角函数。

  • tanh

    双曲正切。

  • tan

    以弧度表示的角的正切。

  • arccos

    反余弦:余弦为某数的角,以弧度表示。