Pergunta de entrevista da empresa Samsung Electronics

integral estimation from sampled points