Results 1 to 2 of 2

Math Help - Using Mathematica to Estimate Area under a curve

  1. #1
    Newbie
    Joined
    Feb 2009
    Posts
    24

    Using Mathematica to Estimate Area under a curve

    Hey all,

    My math professor informed us at the beginning of the quarter that if we could make a program in Mathematica that would help perform a calculation that we've learned how to do by hand in class, he might toss some extra points our way.

    I figured that I'd wow him by making a "program" that could display values of the following in a table:

    Area using Left, Right, and Midpoints as well as the Trapezoid rule

    The function I chose is f(x) = e^(-x^2) (from 0 to 1) and I figured that I'd estimate using 4, 8, 16, 32, and 64 rectangles.

    And seeing as how we just talked about error percentages for these, I figured I'd also make a table that displayed their respective errors. (I found the actual value of the area to be 0.746824)

    I followed all the command examples that I could find in the help page to create the code for it, but nothing is giving me a concrete answer, and half of the code is giving me an error message (nothing in particular)

    Anyone have any pointers on the actual code commands I should be using to accomplish this?

    -B
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Eater of Worlds
    galactus's Avatar
    Joined
    Jul 2006
    From
    Chaneysville, PA
    Posts
    3,001
    Thanks
    1
    I have been messing around with Mathematica myself. I like Maple more. Just google and you can find it.

    See here:

    Numerical Methods using Mathematica
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Another Area Estimate Question
    Posted in the Calculus Forum
    Replies: 3
    Last Post: April 26th 2010, 09:30 PM
  2. Area Estimate Question
    Posted in the Calculus Forum
    Replies: 0
    Last Post: April 26th 2010, 06:56 AM
  3. Replies: 1
    Last Post: December 13th 2008, 01:19 PM
  4. Replies: 1
    Last Post: April 23rd 2008, 06:39 PM
  5. Estimate the area
    Posted in the Geometry Forum
    Replies: 3
    Last Post: August 31st 2007, 08:56 PM

Search Tags


/mathhelpforum @mathhelpforum