I am trying to integrate this function f_x(x) = (1/(2pi))*(1+sin(2x)) for o < x < 2 I know the answer is (x/(2*pi))-(cos(2x)/(4*pi)) but I must be doing something wrong.. -- View this message in context: http://r.789695.n4.nabble.com/Intergration-of-a-function-tp4573362p4573362.html Sent from the R help mailing list archive at Nabble.com.