import Math; // 標準ライブラリ「 Math 」をインポート float value = sin(PI / 2.0) ; // sin(π/2) つまり sin(90°) = 1 print(value);