Re: [Scilab-users] integral of th discontinuous function

2015-05-12 Thread Serge Steer
Le 12/05/2015 17:31, fujimoto2005 a écrit : I want to integrate a discontinuous function whose number of discontinuous points are 3-4. I know I can get an enough accurate result when I divide whole integrate range to sub-ranges over which the function is continuous and apply the standard

Re: [Scilab-users] integral of th discontinuous function

2015-05-12 Thread Samuel Gougeon
Le 12/05/2015 18:08, Serge Steer a écrit : .../... in the first case it seems that intg gives quite good results even with a discontinuous function: Actually, the algorithm used by intg() is self-adaptative. It automatically refine the sampling of intervals where the function varies

[Scilab-users] integral of th discontinuous function

2015-05-12 Thread fujimoto2005
I want to integrate a discontinuous function whose number of discontinuous points are 3-4. I know I can get an enough accurate result when I divide whole integrate range to sub-ranges over which the function is continuous and apply the standard intergration program such as inttrap for each range