function q = composite_simpson38 ( m, a, b, f )

  breaks = linspace ( a, b, m + 1 );

  q = 0.0;
  for i = 1 : m
    ai = breaks(i);
    bi = breaks(i+1);
    q = q + simpson38 ( ai, bi, f );
  end

  return
end
