+ Reply to Thread
Results 1 to 3 of 3

Is there a way in excel that I could get area under a curve ?

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2007
    Posts
    26

    Is there a way in excel that I could get area under a curve ?

    Hellow Experts, Is there a way in excel that i could get area under a curve (i.e integration) and also could possibly visually see the (bar) rectangles under the curve like we do when we learn integration?

    Thanks

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,471

    Re: Is there a way in excel that I could get area under a curve ?

    To my knowledge, there is not a built in "integration" function. With a knowledge of calculus, one should be able to program the spreadsheet to perform these tasks.

    1) Identify the desired integration algorithm. Your reference to "(bar) rectangles" suggests that you are thinking of numerical integration with Riemann sums rather than using the fundamental theorem of calculus. Which Riemann sum (left hand sum, right hand sum, mid point sum, or other) are you interested in (or just pick one and start programming).
    2) I would build a table of values like this:
    Please Login or Register  to view this content.
    The chart to illustrate this process should be a relatively simple column+line/scatter chart. I haven't thought it all the way through, but can you readily identify a step in creating such a combination chart that you get stuck on? Sometimes it is easier to focus a response on the specific part that you don't know rather than try to develop the entire thing from scratch.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Is there a way in excel that I could get area under a curve ?

    Hi -

    You have to write the integrated equation in Excel and then have Excel graph it.

    For example, for the simple case of a line defined at Y=X, the area under that "curve" is the integration of Y=X, which is Y=1/2*X^2.

    Then just create a table in Excel where you have Values of X in one columm (e.g., 1, 2, 3, 4, 5, .....) and the resultant Y's in the adjacent column (0.5, 2, 4.5,...). Then have Excel create a bar chart. Go through the same process for more complex equations.

    If you have a set of data and you want to create an equation that matches that data, you can use the LINEST function which will best fit a straight line through the data, or use the LOGEST function for exponential shaped data. If your data looks linear, then LINEST would be the best bet and then let Excel help you write the equation of the best fit line, then integrate that equation to determine the area. Same process for non-linear data.

    Hope that helps.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to calculate the area under the curve in the excel?
    By area in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-15-2006, 05:10 PM
  2. How do I calculate the area under the curve using Excel?
    By munster909 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 03:05 AM
  3. [SOLVED] How do I calculate the area under the curve using Excel?
    By munster909 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 01:05 AM
  4. How do I calculate the area under the curve using Excel?
    By munster909 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2005, 11:05 PM
  5. How do I calculate the area under the curve using Excel?
    By munster909 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2005, 10:05 PM
  6. Excel: Area under a curve calculation
    By Nick_C in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-25-2005, 11:05 AM
  7. area under a curve in Excel
    By ionman in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-09-2005, 12:06 AM
  8. [SOLVED] Determine area under a curve in Excel
    By Ken in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-22-2005, 12:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1