Re: [Scilab-users] Line integrals

2020-02-25 Thread Stéphane Mottelet
Hello, You can use intg, once you have forged the correct function of the parameter: function out=parabola(t) out = [t/2;t^2]; endfunction function out=my_f(M) out = 2*M(1); endfunction function out=line_int(a, b, curve, f) function out=fun(t, f, curve) dcurve =

[Scilab-users] Line integrals

2020-02-25 Thread arctica1963
Hello all, I am interested in doing line integrals on f(x,y) and f(x,y,z) for scalar and vector calculations. It is not an issue to do mathematically, but not so clear in Scilab how variable substitution should work in this process. As I understand it, one has to take the function and convert it