首页

欢迎

 

Welcome

欢迎来到这里, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Sowya

Sowya 是一款运行于 Windows 下的计算软件.

详情

下载 Sowya.7z (包含最新版的 Sowya.exe and SowyaApp.exe)


注: 自 v0.550 开始, Calculator 更名为 Sowya. [Sowya] 是吴语中数学的发音, 可在 cn.bing.com/translator 中输入 Sowya, 听其英语发音或法语发音.





注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

软件 >> Calculator >> Bug
Questions in category: Bug (Bug).

[Bug]多项式的除法运算

Posted by haifeng on 2024-08-09 10:10:41 last update 2024-08-26 18:52:07 | Answers (0)


>> (x^4+3x^3-x^2-4x-3)/(3x^3+10x^2+2x-3)
in> (x^4+3x^3-x^2-4x-3)/(3x^3+10x^2+2x-3)

out>
 quotient> q(x) = 1|3x-91|9
remainder> r(x) = 9085|9x^2+155|9x-100|3

1|3x^1-91|9
------------------------

正确的结果见Sowya 使用教程 - 知乎 (zhihu.com) “多项式的除法”一节

in> (x^4+3x^3-x^2-4x-3)/(3x^3+10x^2+2x-3)
 
out>
 quotient> q(x) = 1|3x-1|9
remainder> r(x) = -5|9x^2-25|9x-10|3
 
1|3x^1-1|9
------------------------
主要问题是需要正确编写BigNumber.cpp 中的 ChangeSymbolicInfix_InModePolyn()函数.
 


>> 3x^3/(2x^2)

这个产生了死循环.

 

Date: 2024-8-9