I'd like to plot a point at the intersection of these two curves. Thanks

x <- seq(.2, .3, by = .01)
f <- function(x){
        x*cos(x)-2*x**2+3*x-1
}

plot(x,f(x), type = "l")
abline(h = 0)

______________________________________________
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