next up previous contents
Next: asinh Up: リファレンスマニュアル Previous: arg

  
asin

【目的】
asin - 逆正弦
【形式】
y = asin(x)                     Y = asin(X)
   (Real   |Real|Complex) y;       Array Y;
   (Integer|Real|Complex) x;       Array X;
【詳細】
asin(x)は,スカラ型(整数, 実数, 複素数) x の逆正弦を求める。 角度はラジアンで計算される。x が実数のとき, $ -1 \leq x \leq 1$の範囲に対し,asin(x) は $-\frac{\pi}{2} \leq \mathop{\rm asin}\nolimits(x) \leq \frac{\pi}{2}$の範囲の実数となる。 asin(X)は,配列 X の各成分の逆正弦からなる配列 Y を求める。 Y の大きさは X の大きさと同じ。
【算法】
i = (0,1)
asin(z) = - i*log(i*z + sqrt(1 - z*z))
【例題】
>> y = asin(0.5)
y = 0.523599
範囲 -1 <= x <= 1 のasin(x)のグラフを表示する。
>> x = [-1:0.05:1];
>> mgplot(1, x, asin(x), {"asin(x)"});
【参照】
acos(2.3), atan(2.14), asinh(2.13), acosh(2.4), atanh(2.16)


Masanobu KOGA 平成11年10月2日