R/riemann_interval.R

Defines functions interval

interval<- function(lower_bound, upper_bound){
  interval_size = (upper_bound-lower_bound)/6
  interval_points <- c(lower_bound)
  for(i in (1:6)){
    interval_points <- c(interval_points,lower_bound+interval_size*i)
  }
  return(interval_points)
}

Try the AFFECT package in your browser

Any scripts or data that you put into this service are public.

AFFECT documentation built on July 9, 2023, 6:45 p.m.