octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58675] [octave forge] (symbolic) abs(sin(x))


From: Pavel Stříž
Subject: [Octave-bug-tracker] [bug #58675] [octave forge] (symbolic) abs(sin(x)) is not integrated
Date: Tue, 30 Jun 2020 17:07:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Follow-up Comment #2, bug #58675 (project octave):

I got these messages:

octave
pGNU Octave, version 5.2.0
Copyright (C) 2020 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

kg loctave:1> pkg load symbolic;
octave:2> syms x;
OctSymPy v2.6.0: this is free software without warranty, see source.
Initializing communication with SymPy using a popen2() pipe.
Some output from the Python subprocess (pid 121910) might appear next.
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.


OctSymPy: Communication established.  SymPy v1.1.1.
octave:3> f=abs(sin(x));
octave:4> F=int(f,x,0,2*pi)
warning: passing floating-point values to sym is dangerous, see "help sym"
warning: called from
    double_to_sym_heuristic at line 50 column 7
    sym at line 373 column 13
    int at line 138 column 7
F
F = (sym)

  2⋅π
   ⌠
   ⎮  │sin(x)│ dx
   ⌡
   0


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58675>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]