MathSin

2019/07/17 19:00
16

double MathSin( double value)

指定された角度のサインを返す。

Parameters:
x - ラジアン角度
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

コメント