integrating a sub function inside function while the subfunciton also use integration inside it
Reported by faiz
Originally assigned to Paul BIGNIER
BUG DESCRIPTION:
----------------
Gives error when performing the iterative integration. For example If you are using the command integrate('x^2','x',0,1) inside function_1 and Then integrating function_1 inside function_2. Its give error while it is working in scilab_5.5.2.
function y = f(x)
y = x.*integrate('x^2','x',0,1)
endfunction
function z = g(x)
z = x.*integrate('f(x)','x',0,1)
endfunction
x = 1:10; a = f(x); b= g(x)
Iterative integration means you integrate a function, take this as one of the variable and put it back to the funciton and integrating again. Repeating this process several time. The easiest way to do this is looping but scilab_5.5.2 also gives error if you are doing looping with a function involving the integration commands integrate('x^2','x',0,1).
ERROR LOG:
----------
An error occurred while getting DifferentialEquationFunctions object.
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------