まぬねこの足跡。。。

備忘録+たのしさ+ひっそりと

2023-06-25から1日間の記事一覧

Python - math.cosh(x):双曲線余弦(ハイパボリックコサイン)

概要 インポート 実行結果 表示イメージ 概要cosh(x) 双曲線余弦 mathモジュール インポート import math 実行結果 import math print(math.cosh(1)) print(math.cosh(0)) print(math.cosh(-1)) 表示イメージ 1.5430806348152437 1.0 1.5430806348152437

Python - math.sinh(x):双曲線正弦(ハイパボリックサイン)

概要 インポート 実行結果 表示イメージ 概要sinh(x) 双曲線正弦 mathモジュール インポート import math 実行結果 import math print(math.sinh(1)) print(math.sinh(0)) print(math.sinh(-1)) 表示イメージ 1.1752011936438014 0.0 -1.1752011936438014

Python - math.asinh(x):逆双曲線正弦

概要 インポート 実行結果 表示イメージ 概要asinh(x) 逆双曲線正弦 mathモジュール インポート import math 実行結果 import math print(math.asinh(1)) print(math.asinh(0)) print(math.asinh(-1)) 表示イメージ 0.881373587019543 0.0 -0.881373587019543

Python - math.acosh(x):逆双曲線余弦

概要 インポート 実行結果 表示イメージ 概要acosh(x) 逆双曲線余弦 mathモジュール インポート import math 実行結果 import math print(math.cosh(1)) print(math.cosh(0)) print(math.cosh(-1)) 表示イメージ 1.5430806348152437 1.0 1.5430806348152437

Python - math.hypot(*coordinates):ユークリッドノルム(原点→座標のベクトルの長さ)

概要 インポート 実行結果 表示イメージ 概要hypot(*coordinates) ユークリッドノルム(原点→座標のベクトルの長さ) mathモジュール インポート import math 実行結果 import math print(math.hypot(2)) print(math.hypot(2,2)) print(math.hypot(2,2,2)) 表…