Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, bliengme wrote:I am using the beta version and do not get this error. In both cases root = +- 2.83 (with b=1, c=1) Take a look at the previous example, please. If you use b=1, c=1 the result is correct, but if you use b=1, c=2 then it is not correct. f(a,b,c):{a^2-2*b}/{2+c}-2b:1 c:1roots(f(x,b,c),x,-10)=-2.8284roots(f(x,b,c),x,10)=2.8284b:1 c:2roots(f(x,b,c),x,-10)=-3.1623roots(f(x,b,c),x,10)=10@# - WRONGor roots(f(x,b,c),x,10000)=10000@#but if you put something like f(a,b,c):{a^2-2*b}/{2.0000000000001+c}-2the result is RIGHT! Moreover, Instead of 2+c in the denominator you can put 4+c, 6+c -4+c or any other even number instead of 2 and there will be wrong again. If you put any odd integer (positive , negative) or a real number, the result will be right.There must be some bug here. roots(f(x,b,c),x,10000)=3.1623@#On the other hand solve(f(x,b,c),x,-100,100)=mat(-3.1623,3.1623,2,1)Regards, Radovan Edited by user 01 October 2011 19:55:15(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |