Results 1 to 2 of 2

Math Help - Numerical Integration

  1. #1
    Member
    Joined
    Sep 2008
    From
    California
    Posts
    101

    Question Numerical Integration

    Okay, so the instructions to the problem I have say, " Find the approximate values for each of the following integrals by applying the function simpleTrap" simpleTrap is explained here: Calculus I and II - Lab 17 So I have the problem: \int_{0}^{2} e^xdx in mathematica I get 8.38906, but on my calculator it says 6.38906, which is correct?
    This is what I put in for mathematica:
    In[6]:= f[x_] := E^x
    In[7]:= N[(2 - 0)*(f[0] + f[2])/2]
    Out[7]= 8.38906
    Thanks,
    Matt
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    skeeter's Avatar
    Joined
    Jun 2008
    From
    North Texas
    Posts
    12,037
    Thanks
    883
    mathematica is correct ... using the geometry formula for a simple trapezoid ... A = \frac{1}{2}(1 + e^2)2 = 1 + e^2
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Numerical integration?
    Posted in the Calculus Forum
    Replies: 5
    Last Post: August 25th 2011, 02:00 PM
  2. Numerical integration?
    Posted in the Calculus Forum
    Replies: 2
    Last Post: August 23rd 2011, 06:54 AM
  3. numerical integration
    Posted in the Calculus Forum
    Replies: 1
    Last Post: April 9th 2010, 03:49 AM
  4. Numerical Integration
    Posted in the Calculus Forum
    Replies: 1
    Last Post: February 8th 2010, 10:16 PM
  5. Numerical Integration
    Posted in the Calculus Forum
    Replies: 2
    Last Post: August 30th 2007, 07:30 AM

Search Tags


/mathhelpforum @mathhelpforum