Posted - 06/12/2020 : 10:24:31 AM In my origin the integrate function is integ1 and the syntax is different. May be because of this reason it did not work.
In origin there is not function to directly integrate a function like in a calculator.
YimingChen
Posted - 06/12/2020 : 09:53:14 AM This should work.
dataset ds1 = data(10,50,0.1);
dataset ds2 = ds1^3 + 4*sin(ds1);
int nn = ds1.GetSize();
double dd = integrateXY(ds1, ds2)[nn];
dd=;
James
shyamigcar2
Posted - 06/12/2020 : 09:31:03 AM Thank you for the efforts towards explaining me integration. Thank you very much
But my doubts was not this. I wanted to integrate using the labtalk scripts or using codes in the scripting window. I will be helpful if you can provide me the codes for the same.
YimingChen
Posted - 06/12/2020 : 08:41:09 AM Please check the figure below: