1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Approximate Integral of cos(x^2)

  1. Oct 7, 2012 #1
    1. The problem statement, all variables and given/known data
    I am having issues figuring out the error involved in the trapezoidal and midpoint methods for ∫cos(x^2) from 0 to 1 with n=8

    2. Relevant equations
    |Et|<= k(b-a)^3/(12n^2)

    3. The attempt at a solution


    f''(1) = -3.844

    Is it right given that f''(1) is negative? Just wanted to make sure! Thanks
  2. jcsd
  3. Oct 7, 2012 #2

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    It doesn't matter: k = max{|f''(x)|: 0 ≤ x ≤ 1}.

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook