function q = gauss1 ( a, b, f )

  x = ( a + b ) / 2.0;
  w = ( b - a );

  q = w * f ( x );

  return
end
