Find the integral of a function, Mathematics

Assignment Help:

We want to find the integral of a function at an arbitrary location x from the origin. Thus,

1486_find the integral of a function.png

where I(x=0) is the value of the integral for all times less than 0. (Essentially, I(x=0) is the unknown constant of integration or the initial condition.) From the class lecture on the trapezoidal rule for numerical integration, it can be seen that this function can be approximated by

2413_find the integral of a function1.png

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule. Your function should accept two vectors as inputs, x and f.

The first vector (x) contains the independent variable data (the points at which the values of the function are known. The second vector (f) should contain the values of the function at the points provided in the first vector. Your function should return the integral of f with respect to x, as a function of x.


Related Discussions:- Find the integral of a function

Modelling the maximum volume, what are the dimensions of the box that can b...

what are the dimensions of the box that can be made if squares of x cm by x cm is cut off from 20cm by 20cm square paper

Arithmetic/geometric sequences and binomial expansion, find s10 for the ari...

find s10 for the arithmetic sequenxe inwhich a1=5 and a10=68

Circle, a wheel revolves 360 deegre revolution in one minute .Find how many...

a wheel revolves 360 deegre revolution in one minute .Find how many radians will the wheel subtend in one second

Marketing., what is product life cycle

what is product life cycle

Classifying critical points, Classifying critical points : Let's classify ...

Classifying critical points : Let's classify critical points as relative maximums, relative minimums or neither minimums or maximums. Fermat's Theorem told us that all relative

What fraction of water flows out, A conical vessel of radius 6cm and height...

A conical vessel of radius 6cm and height 8cm is completely filled with water. A sphere is lowered into the water and its size is such that when it touches the sides, it is just im

Math homework help, I need help witth my homework can you help please

I need help witth my homework can you help please

Lines, i dont understand angels and lines

i dont understand angels and lines

Calculas, how to deal with integration by parts

how to deal with integration by parts

Array -categories of multiplication, Array - when items are arranged in a ...

Array - when items are arranged in a regular rectangular pattern of rows and columns, counting how many there are. (e.g., if there are 3 rows of 5 girls each, how many girls are t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd