[R] area under the curve

Rlotus yerlan_ at hotmail.com
Sun Nov 18 18:55:08 CET 2012


I mean i need to put random x in equation in order to determine value y.
i used runif....but it doesn work...

y= (runif(0,1))^5+(runif(0,1))^8+((cos runif(0,1)))^3; (<=it doesnt work
properly)
now i have value y....
need to determine whether y is above or below my function.....

so after that y1=runif(1,0,3);




--
View this message in context: http://r.789695.n4.nabble.com/area-under-the-curve-tp4649943p4649944.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list