[R] area under the curve

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Nov 18 19:07:18 CET 2012



On 18.11.2012 18:37, Rlotus wrote:
> I have function y=x^5+x^8+ (cos(x))^3;
> I need to get random x;
> random y;
> and after that determine whether y below or above the given function.
>
> I tried a lot of version. but my code even doesnt work....plz help with this
> expressions ;( I am a begiiner in R
>

Show us your code and we can give hints what you did wrong.
But at first, please do read the posting guide 
http://www.R-project.org/posting-guide.html

Uwe ligges



>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/area-under-the-curve-tp4649943.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