Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. matrix=structure(c(0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09,
  2. 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.2,
  3. 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.3, 0.31,
  4. 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.4, 0.41, 0.42,
  5. 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.5, 0.51, 0.52, 0.53,
  6. 0.54, 0.55, 0.56, 0.57, 0.58, 0.59, 0.6, 0.61, 0.62, 0.63, 0.64,
  7. 0.65, 0.66, 0.67, 0.68, 0.69, 0.7, 0.71, 0.72, 0.73, 0.74, 0.75,
  8. 0.76, 0.77, 0.78, 0.79, 0.8, 0.81, 0.82, 0.83, 0.84, 0.85, 0.86,
  9. 0.87, 0.88, 0.89, 0.9, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 0.97,
  10. 0.98, 0.99, -7.38512004893287, -7.38512004893287, -6.4788834441613,
  11. -5.63088940915783, -4.83466644123448, -4.68738146949482, -4.28638930290018,
  12. -4.22411786604579, -3.59136848943044, -3.51706359680799, -3.39972014575003,
  13. -3.28609348968074, -3.08569873266253, -2.99764447889508, -2.89470597729108,
  14. -2.77488515429677, -2.67019029728821, -2.54646363628509, -2.48474483938047,
  15. -2.30542896070156, -2.22485510301423, -2.16689229344011, -2.10316315192181,
  16. -2.05135466960309, -1.90942757945567, -1.87863626704201, -1.82507998490407,
  17. -1.75875817642096, -1.6919717645629, -1.62396997031953, -1.56159595204983,
  18. -1.52152738173419, -1.46478394989911, -1.4590555309334, -1.21744398902807,
  19. -1.21731951113139, -1.15003007559406, -1.07321513324935, -0.993364510081357,
  20. -0.924402354306976, -0.885939210442384, -0.831155619244629, -0.80947326709303,
  21. -0.786842719842383, -0.743834513319968, -0.721194178931262, -0.593033922802471,
  22. -0.514780082129033, -0.50717184901095, -0.44223827942003, -0.403514759789576,
  23. -0.296251921664, -0.204238424399985, -0.1463212643028, -0.0982036017275267,
  24. -0.0705262020944892, 0.0275436976821241, 0.0601977432996216,
  25. 0.114959963559268, 0.182222546319913, 0.236503724954577, 0.272244043950984,
  26. 0.325188234828891, 0.347862804414816, 0.438932719815686, 0.630570414177834,
  27. 0.805087251137292, 0.904903847087405, 0.940702374334727, 0.958351604371838,
  28. 1.03920208406121, 1.25808734990267, 1.32634708210007, 1.34458194173569,
  29. 1.42693337001189, 1.55016591141652, 1.5710754638668, 1.61795101580197,
  30. 1.62472416407376, 1.70223430572367, 1.86164374636379, 1.94317125269006,
  31. 2.03941620499986, 2.12071850455654, 2.17753890907921, 2.22227616630581,
  32. 2.45586794615095, 2.66160802425205, 2.83084956697756, 2.94669126521054,
  33. 3.04536994227142, 3.09217816201639, 3.42405058020625, 3.45140184734503,
  34. 3.67343579954061, 4.64233570345934, 4.87075743677502, 5.27924539262207,
  35. 5.56822483595709), .Dim = c(99L, 2L), .Dimnames = list(NULL,
  36. c("x", "y")))
  37.  
  38. plot(matrix[,1],matrix[,2])
  39.  
  40. integrando= function(x) return(minhafuncao(x));
  41.  
  42. integrate(integrando, lower=0.08, upper=0.15)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement