double MathSin(double value)
Returns the sine of the specified angle.
指定された角度のサインを返します。
Parameters:
パラメータ:
value - An angle measured in radians.
ラジアンで計測した角度
Sample:
サンプル:
double pi=3.1415926535;
double x, y;
x=pi/2;
y=MathSin(x);
Print("MathSin(",x,") = ",y);
y=MathCos(x);
Print("MathCos(",x,") = ",y);
//Output: MathSin(1.5708)=1
// MathCos(1.5708)=0
|