[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64008] Symbolic pkg v3.0.1: error in @simfun/
From: |
Guy Mélard |
Subject: |
[Octave-bug-tracker] [bug #64008] Symbolic pkg v3.0.1: error in @simfun/int |
Date: |
Thu, 6 Apr 2023 09:28:57 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64008>
Summary: Symbolic pkg v3.0.1: error in @simfun/int
Group: GNU Octave
Submitter: gmelard
Submitted: Thu 06 Apr 2023 01:28:55 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 8.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 06 Apr 2023 01:28:55 PM UTC By: Guy Mélard <gmelard>
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 06 Apr 2023 01:28:55 PM UTC Name: TestCircularIntegral_v7.m Size:
192B By: gmelard
<http://savannah.gnu.org/bugs/download.php?file_id=54568>
-------------------------------------------------------
Date: Thu 06 Apr 2023 01:28:55 PM UTC Name: TestCircularIntegral_v7.txt
Size: 795B By: gmelard
<http://savannah.gnu.org/bugs/download.php?file_id=54569>
-------------------------------------------------------
Date: Thu 06 Apr 2023 01:28:55 PM UTC Name: TestCircularIntegral_v7.nb Size:
7KiB By: gmelard
<http://savannah.gnu.org/bugs/download.php?file_id=54570>
-------------------------------------------------------
Date: Thu 06 Apr 2023 01:28:55 PM UTC Name: TestCircularIntegral_v7.pdf
Size: 45KiB By: gmelard
<http://savannah.gnu.org/bugs/download.php?file_id=54571>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64008>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64008] Symbolic pkg v3.0.1: error in @simfun/int,
Guy Mélard <=