Forgot password?
 Create new account
View 104|Reply 2

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

[Copy link]

133

Threads

259

Posts

2333

Credits

Credits
2333

Show all posts

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

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

hbghlyj Posted at 2024-10-14 16:03:21
郝酒 发表于 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 at 2024-10-14 18:36

手机版Mobile version|Leisure Math Forum

2025-4-20 12:09 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list