Forgot password?
 Register account
View 240|Reply 2

给一个小数值,能否找到最接近于它的$a+b\sqrt{c}$的有理数$a,b,c$

[Copy link]

132

Threads

251

Posts

2288

Credits

Credits
2288

Show all posts

郝酒 Posted 2024-10-14 15:24 |Read mode
RT,有时候用MMA,算最值的时候不一定能够化简,求数值解是会得到一个近似值,现在的问题是:有没有一个函数或算法,能找出固定结构,$a+b\sqrt{c}$的最接近的近似值.

3152

Threads

7905

Posts

610K

Credits

Credits
64068
QQ

Show all posts

hbghlyj Posted 2024-10-14 16:03
郝酒 发表于 2024-10-14 07:24
RT,有时候用MMA,算最值的时候不一定能够化简,求数值解是会得到一个近似值,现在的问题是:有没有一个函 ...
RootApproximant - Wolfram Language Documentation
In[1]:= RootApproximant[Pi, 2]
Out[1]= $\frac{198261+\sqrt{105043517473}}{166274}$

Comment

感谢  Posted 2024-10-14 18:36

Mobile version|Discuz Math Forum

2025-6-4 17:08 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit