SHARE
TWEET

rstudio

a guest Jun 16th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plot(0,
  2.      xlim = c(0, 10),
  3.      ylim = c(0, 1),
  4.      type = "n",
  5.      ylab = "f(x)",
  6.      xlab = "x",
  7.      main = "funkcja gestosci"
  8. )
  9.  
  10.  
  11.  
  12. integrate(function(x) dexp(x, 1/2), lower = 0, upper = 1)$value + integrate(function(x) dexp(x, 1/2), lower = 3, upper = 10)$value
  13.  
  14. curve(dexp(x, 1/2), xlim=c(0, 1), add = TRUE, lwd = 2)
  15. curve(dexp(x, 1/2), xlim=c(3, 10), add = TRUE, lwd = 2)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top