Hi Ravi, are you saying to apply the idea of a trapezoidal method "again", because I was expecting the integrate() already do it for me. Is not the case?
I am also dealing with troubles related to integrate. Just to say, I tried to figure out the problem in Mathematica and it gives me the expected/correct solution. I am integrating a function with shape like a exp(x), x>0. The value of the function get lower when x is big but integrate return zero. If some one can give a suggestion, it will be very appreciated. -- View this message in context: http://r.789695.n4.nabble.com/integration-tp843252p3771660.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.