bugGNU Octave - Bugs: bug #64008, [octave forge] (symbolic) pkg...

 
 

bug #64008: [octave forge] (symbolic) pkg v3.0.1: error in @simfun/int

Submitter:  Guy Mélard <gmelard>
Submitted:  Thu 06 Apr 2023 01:28:55 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 8.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 06 Apr 2023 01:28:55 PM UTC, original submission:  

I tried to use the symbolic package to compute a lot of integrals of rational functions and it gives always an incorrect result of 0. Here is a simple example:

syms A funcz funcf z f
A(z) = poly2sym({1/2 1}, z)
vpasolve(A(z)==0,z)
funcz(z) = 1/((A(z)*A(1/z)))
funcf(f) = funcz(exp(sym(1i)*f))
int(funcf, f, [sym(0) 2*sym(pi)])

I have enclosed the script (TestCircularIntegral_v7.m), the output (TestCircularIntegral_v7.txt), the Mathematica notebook (TestCircularIntegral_v7.nb) and its PDF version (TestCircularIntegral_v7.pdf) for the same problem that gives the correct value of 8pi/3.
Thanks
Guy

Guy Mélard <gmelard>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54568:  TestCircularIntegral_v7.m added by gmelard (192B - application/vnd.wolfram.mathematica.package)
file #54570:  TestCircularIntegral_v7.nb added by gmelard (7KiB - application/vnd.wolfram.nb)
file #54571:  TestCircularIntegral_v7.pdf added by gmelard (45KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by gmelard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-04-25 jwe SummarySymbolic pkg v3.0.1: error in @simfun/int [octave forge] (symbolic) pkg v3.0.1: error in @simfun/int
    2023-04-06 gmelard Attached File- Added TestCircularIntegral_v7.m, #54568
        Attached File- Added TestCircularIntegral_v7.txt, #54569
        Attached File- Added TestCircularIntegral_v7.nb, #54570
        Attached File- Added TestCircularIntegral_v7.pdf, #54571

    Back to the top

    Powered by Savane 3.13-f762.
    Corresponding source code