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.

______________________________________________
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.

Reply via email to