Answer

问题及解答

[BUG]读入多项式时产生的问题

Posted by haifeng on 2024-05-17 11:29:48 last update 2024-05-17 11:32:01 | Edit | Answers (0)

>> lim((3x^5-1)/(2.5x^5+1),x,inf)
result> 96|3125

------------------------

这里程序将 2.5x^5识别为  2.5^5 x^5  

>> 2.5^5
in> 2.5^5

out> 97.65625
------------------------


>> 3/97.65625
in> 3/97.65625

out> 0.03072
------------------------


>> :mode fraction
Switch into fraction calculating mode.
e.g., 1/2+1/3 will return 5/6

>> 3/97.65625
in> 3/97.65625

out> 96|3125

------------------------

当系数是小数时, 在系数和x之间加上*, 可以避免上面的问题.

>> lim((3x^5-1)/(2.5*x^5+1),x,inf)
result> 6|5

------------------------