Solved

Numerical integration in Excel

Posted on 1998-02-18
6
1,554 Views
Last Modified: 2008-03-03
Is it possible to integrated a column of values in Excel?  If so, how?
0
Comment
Question by:BoB
  • 4
  • 2
6 Comments
 
LVL 3

Expert Comment

by:frazer
ID: 1610100
Hi bob

assuming you want the numbers to increment in column 'A' do
1)  In cell A1 type     1
2)  In cell A2 put the formula =A1+1
3)  Copy the formula down as far as you need to
4)  If you need the cells to contain text values not formulas copy the entire column and then paste special values over the top.

Hope this helps

Frazer
0
 

Author Comment

by:BoB
ID: 1610101
This only works for special cases and is not valid for most functions.  Try putting 1-10 in column A, then 2*A1 in column B and then your integration strategy (B1 in C1, then B2+B1 in C2) and you will notice that C10 has the value 38 however the integral of 2*x from 1 to 10 in 99.
0
 
LVL 3

Expert Comment

by:frazer
ID: 1610102
Hi, Bob

I do not understand what you are trying to do

can you give me more detail of exactly what you want in each of the cells in the spreadsheet.

Thanks

Frazer
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:BoB
ID: 1610103
Column A [1,2,3,4,5,6,7,8,9,10]  
Column B [1,4,9,16,25,36,49,64,81,100] {B=A^2}
Column C integral of B=A^2 which is (1/3)A^3 so in each row
         [1/3,8/3,27/3,64/3,125/3,...]

Now, that is easy to do if you have functions like I have in this example, but if the data in column B is not a mathematical function, how can I integrate it?
0
 
LVL 3

Expert Comment

by:frazer
ID: 1610104
Hi,

I more understand what you are trying to do now but it is a few years since i have done any intergration.

what other than a numerical function are you trying to intergrate?

the formulae you have provided above work without any problems.

i used....

1 in cell A1
=1+A1 in cell A2
copied the formula down so cell A10 is =1+A9
then in column B
=A1^2 in cell B1, although i thought it should read =(1/2)A1^2
copied the formula down so cell B10 is =A10^2
then in column C
=(1/3)A1^3 in cell C1
copied the formula down so cell C10 is =(1/3)A10^3

this gives the resuls you stated....

what now?

do you want this to be automated at the click of a button?

let me know

Frazer
0
 
LVL 3

Accepted Solution

by:
frazer earned 50 total points
ID: 1610105
Hi,

I think this is what you are trying to do...

=(1/COLUMN(F4))*$A4^COLUMN(F4)

as long as you have numbers in column A this will give the intergral of that number in whichever column you copy the formula
e.g.
if you put the numbers 1-100 down column A, and copy the formula into cell C4, it would translate to
=(1/3)*$A4^3
this would give you the integral of 4 to the 3rd power

if you put it in cell G87, it would read
=(1/7)*A87^7
this would give you the integral of 87 to the 7th power

hope this helps

let me know

Frazer
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now