'Martin R' via FriCAS - computer algebra system
2018-07-23 20:49:13 UTC
Nasser found the following interesting bug at
https://trac.sagemath.org/ticket/25905:
(1) -> f := (I*a*tan(d*x + c) + a)^3*tan(d*x + c)
(1)
3 3 4 2 3 3 3 2
I a tan(d x + c) + 3 I a tan(d x + c) + 3 I a tan(d x + c)
+
3
a tan(d x + c)
Type:
Expression(Integer)
(2) -> F := integrate(f, x)
(2)
2 3 1 3 3 3
(9 I - 3)a log(-----------------) + 2 I a tan(d x + c)
2
tan(d x + c) + 1
+
2 3 2 3 3 3 3
9 I a tan(d x + c) + (- 6 I + 18 I)a tan(d x + c) + (6 I - 18 I)a
d x
/
6 d
Type:
Union(Expression(Integer),...)
(3) -> D(eval(F, I =%i), x)-eval(f, I=%i)
(3) 0
Type:
Expression(Complex(Integer))
(4) -> F := integrate(eval(f, I=%i), x)
arithmetic error DIVISION-BY-ZERO signalled
Operation was (/ -2 0).
Any ideas?
Martin
https://trac.sagemath.org/ticket/25905:
(1) -> f := (I*a*tan(d*x + c) + a)^3*tan(d*x + c)
(1)
3 3 4 2 3 3 3 2
I a tan(d x + c) + 3 I a tan(d x + c) + 3 I a tan(d x + c)
+
3
a tan(d x + c)
Type:
Expression(Integer)
(2) -> F := integrate(f, x)
(2)
2 3 1 3 3 3
(9 I - 3)a log(-----------------) + 2 I a tan(d x + c)
2
tan(d x + c) + 1
+
2 3 2 3 3 3 3
9 I a tan(d x + c) + (- 6 I + 18 I)a tan(d x + c) + (6 I - 18 I)a
d x
/
6 d
Type:
Union(Expression(Integer),...)
(3) -> D(eval(F, I =%i), x)-eval(f, I=%i)
(3) 0
Type:
Expression(Complex(Integer))
(4) -> F := integrate(eval(f, I=%i), x)
arithmetic error DIVISION-BY-ZERO signalled
Operation was (/ -2 0).
Any ideas?
Martin
--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.