cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Integrate a function between varying limits and return the result as a vector

AATaylor
10-Marble

Integrate a function between varying limits and return the result as a vector

Hi,

I would like to integrate a function between a certain number of pairs of limits. The number of pairs is set by a variable, n.th. I'd then like to return the result as an n.th x 1 vector. Could anyone help please?

 

Please see attached.

 

Many thanks and kind regards

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Werner_E)

And if you want it to be done by a more generic function, you could do it that way:

b.png

Worksheet attached.

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:AATaylor)

You may use a range variable to do the job

b.png

Werner_E
25-Diamond I
(To:Werner_E)

And if you want it to be done by a more generic function, you could do it that way:

b.png

Worksheet attached.

Even better! Thanks!

Many thanks and kind regards

Brilliant, that's exactly what I was looking for, thanks. Can;t believe I didn't think of that myself...

 

 

Announcements

Top Tags