0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

平方根

Last updated at Posted at 2019-08-02

平方根、3乗根、累乗根の計算

n乗根は1/n乗する。

平方根

python
>>> 10**(1/2)
3.1622776601683795
>>> 4**(1/2)
2.0
>>> 2**(1/2)
1.4142135623730951

Googleで計算

$\sqrt{6}$
image.png
参考:Writing Mathematic Fomulars in Markdown

CASIOの高精度計算サイトで計算

$\sqrt{6}$
image.png
参考:高精度計算サイト

3乗根

python
>>> 10**(1/3)
2.154434690031884

*以下サイトでは複素数の平方根を求める場合はcmath.sqrt()を使う方法が紹介されている。
Python, complex型で複素数を扱う(絶対値、偏角、極座標変換など)

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?