A way to draw the curve corresponding to a given function is this:
fun1 <- function(x) sin(cos(x)*exp(-x/2))
plot (fun1, -8, 5)
How can I add another function's curve (e.g. fun2, which is also defined by its mathematical formula) in the same plot?