bugGNU Octave - Bugs: bug #67158, (symbolic) When a multiple...

 
 

bug #67158: (symbolic) When a multiple integral is a cauchy integral, int() function may throw an error

Submitter:  Yu Hongbo <yuhongbo>
Submitted:  Sat 24 May 2025 02:10:01 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 8.4.0 Release: 
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 May 2025 02:19:36 PM UTC, comment #2: 

I have a typo in the title. Correct here:
(symbolic) When a multiple integral is a defect integral, int() function may throw an error

Yu Hongbo <yuhongbo>
Sat 24 May 2025 02:14:06 PM UTC, comment #1: 

I have a typo in the original submission. Correct here:
Let \(\Omega=\{(x, y, z)|(x, y)\in D, {\rm ln}(x+y)\leq z\leq (x+y)^3\}\), let \(D=\{(x, y)|1\leq x\leq10, {\rm ln}x\leq y\leq x^3\}\), solve \(\iiint_{\Omega}{(x^2+y^2+z^2)}{\rm d}x{\rm d}y{\rm d}z\).

Yu Hongbo <yuhongbo>
Sat 24 May 2025 02:10:01 PM UTC, original submission:  

Let \(\Omega=\{(x, y, z)|(x, y)\in D, (x+y)\leq z\leq (x+y)^3\}\), let \(D=\{(x, y)|1\leq x\leq10, {\rm ln}x\leq y\leq x^3\}\), solve \(\iiint_{\Omega}{(x^2+y^2+z^2)}{\rm d}x{\rm d}y{\rm d}z\).

function [text_result, numeric_result] = func82()
    pkg load symbolic;
    x = sym('x');
    y = sym('y');
    z = sym('z');
    result = x^2 + y^2 + z^2;
    result = int(result, z, log(x + y), (x + y)^3);
    result = int(result, y, log(x), x^3);
    result = int(result, x, 1, 10);
    text_result = ["\n", disp(result)];
    numeric_result = eval(result);
endfunction

>> [text_result, numeric_result] = func82()

error: Python exception: TypeError: '>' not supported between instances of 'Poly' and 'int'
    occurred at line 2 of the Python code block:
    F = sp.integrate(f, (x, a, b))
error: called from
    pycall_sympy__ at line 179 column 7
    int at line 138 column 7
    func82 at line 17 column 12

Yu Hongbo <yuhongbo>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by yuhongbo (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-26b0.
    Corresponding source code