There seems to be something strange.  I get division by zero on integrate. 

I try again the same command, and then it works. I try again, get the error 
again.
might have to try few times.

Here is log. It seems by chance. It looks like one call caches something
in memory, which can affect the next call. 

-----------------------------------------------
(6) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)

   (6)
            +--------------------------------------+
            |          3       2            2    2      2                 2
       - 2 \|(2 a - 1)x  + (- a  - 2 a + 1)x  + a x  + x  + (2 a - 2)x - a
   log(--------------------------------------------------------------------)
                                   2            2
                                  x  - 2 a x + a
                                         Type: 
Union(Expression(Integer),...)
(7) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)

   (7)
            +--------------------------------------+
            |          3       2            2    2      2                 2
       - 2 \|(2 a - 1)x  + (- a  - 2 a + 1)x  + a x  + x  + (2 a - 2)x - a
   log(--------------------------------------------------------------------)
                                   2            2
                                  x  - 2 a x + a
                                         Type: 
Union(Expression(Integer),...)
(8) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)

   (8)
            +--------------------------------------+
            |          3       2            2    2      2                 2
       - 2 \|(2 a - 1)x  + (- a  - 2 a + 1)x  + a x  + x  + (2 a - 2)x - a
   log(--------------------------------------------------------------------)
                                   2            2
                                  x  - 2 a x + a
                                         Type: 
Union(Expression(Integer),...)
(9) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)

   (9)
            +--------------------------------------+
            |          3       2            2    2      2                 2
       - 2 \|(2 a - 1)x  + (- a  - 2 a + 1)x  + a x  + x  + (2 a - 2)x - a
   log(--------------------------------------------------------------------)
                                   2            2
                                  x  - 2 a x + a
                                         Type: 
Union(Expression(Integer),...)
(10) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)
 
   >> Error detected within library code:
   catdef: division by zero

(10) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)
 
   >> Error detected within library code:
   catdef: division by zero

(10) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)
 
   >> Error detected within library code:
   catdef: division by zero

(10) -> ii:=integrate((x*(2*a - 1) - a)/((x - a)*sqrt(x^3*(2*a - 1) - 
x^2*(a^2 + 2*a - 1) + a^2*x)), x)

   (10)
            +--------------------------------------+
            |          3       2            2    2      2                 2
       - 2 \|(2 a - 1)x  + (- a  - 2 a + 1)x  + a x  + x  + (2 a - 2)x - a
   log(--------------------------------------------------------------------)
                                   2            2
                                  x  - 2 a x + a
                                         Type: 
Union(Expression(Integer),...)
(11) -> 


1.3.2 on Linux with 

fricas
viewman not present, disabling graphics
/bin/sh: 1: exec: 
/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/bin/hypertex: not 
found
Checking for foreign routines
AXIOM="/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu"
spad-lib="/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/lib/libspad.so"
foreign routines found
openServer result 0
                       FriCAS Computer Algebra System 
                            Version: FriCAS 1.3.2
                   Timestamp: Sat Jan 27 17:15:20 CST 2018
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------
 
   Using local database 
/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/algebra/compress.daase..
  
 Using local database 
/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/algebra/interp.daase..
   Using local database 
/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/algebra/operation.daase..
   Using local database 
/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/algebra/category.daase..
   Using local database 
/home/me/data/fricas/fricas-1.3.2/target/x86_64-linux-gnu/algebra/browse.daase..

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
  • [fricas-devel] cat... 'Nasser M. Abbasi' via FriCAS - computer algebra system

Reply via email to