The antiderivative should be , however: axiom integrate(2*atan(x)/(1+x^2),
Type: Union(Expression(Integer),
axiom D(%,
Type: Expression(Integer)
axiom D(atan(x)^2,
Type: Expression(Integer)
Maybe this is related to bug #293, i.e., Axiom choosing the wrong branch of , or #141? Yes, it is related to #293 --kratt6, Tue, 29 Aug 2006 04:55:37 -0500 reply Look at
axiom f x == 2*atan(x)+atan(2*x/(x^2-1)) Type: Void
Differentiating, we see that is constant axiom D(f x, axiom Compiling function f with type Variable(x) -> Expression(Integer)
Type: Expression(Integer)
However, is not continuous at 1, and indeed, axiom numeric f(%pi) axiom Compiling function f with type Pi -> Expression(Integer)
Type: Float
Drawing the function makes the situation quite clear... Category: Aldor Library Compiler => Axiom Library Status: open => fix proposed Status: fix proposed => fixed somewhereno patch available http://fricas.svn.sourceforge.net/viewvc/fricas/trunk/src/algebra/gaussian.spad.pamphlet?r1=257&r2=358&view=patch This was done in rev 418 of wh-sandbox, not FriCAS... Yes, but the link is to Fricas not the wh-sandbox. Status: fixed somewhere => fix proposed |