[R] Intergration of a function

R. Michael Weylandt michael.weylandt at gmail.com
Fri Apr 20 12:50:02 CEST 2012


whathaveyoutried.com

Michael

On Fri, Apr 20, 2012 at 5:47 AM, dcgf <diane.fercocq at gmail.com> wrote:
> 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.
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list