2023-06-24 Python - math.sin(x):正弦(サイン) Python3 mathモジュール 概要 インポート 実行結果 表示イメージ 概要sin(x) 正弦(サイン) mathモジュール インポート import math 実行結果 import math print(math.sin(1)) print(math.sin(0)) print(math.sin(-1)) 表示イメージ 0.8414709848078965 0.0 -0.8414709848078965