以下のような二重根号を外す。
$$
\sqrt{8 + 4\sqrt{3}}
$$
>>> from sympy import sqrt, sqrtdenest
>>> x = sqrt(8 + 4*sqrt(3))
>>> sqrtdenest(x)
sqrt(2) + sqrt(6)
Go to list of users who liked
More than 1 year has passed since last update.
以下のような二重根号を外す。
$$
\sqrt{8 + 4\sqrt{3}}
$$
>>> from sympy import sqrt, sqrtdenest
>>> x = sqrt(8 + 4*sqrt(3))
>>> sqrtdenest(x)
sqrt(2) + sqrt(6)
Register as a new user and use Qiita more conveniently
Go to list of users who liked