Hi experts,
I met an incredible problem when use graph->Integral(). I integrate a graph from the first point to the third point using graph->Integral(0,2), then it return a value 0 but it should have not be zero. I have outputed the first, second and third point and find they are all larger than zero, so the integral should not be zero. the code I wrote and parts of output are given below. Hope you can help me resolve the problem. thank you.
output:
0.0839837 0.141478 0.198973
xstart:0 xend:2 Integral: 4.44089e-16
340 0.0839837
350 0.141478
360 0.198973
370 0.256467
380 0.313961
390 0.286965
400 0.259969
