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

Pre calc, - Find the total surface area of a frustum of a cone. (Include to...

- Find the total surface area of a frustum of a cone. (Include top and bottom). The equation that I have for volume is v=1/3 pi x h(r^2+rR+R^2) -the equation that I have found fo

Rarrrrrrrrrr, i need help in writing about a magic car?..

i need help in writing about a magic car?..

Math problem, integral from 0 to pi of dx/(a+b*cos(x)

integral from 0 to pi of dx/(a+b*cos(x)

Venn diagram, A venn diagram is a pictorial representation of the sam...

A venn diagram is a pictorial representation of the sample space of an experiment. It is usually drawn as a rectangular figure representing the sample space and it cont

Math, what is the changen intemperature bewtween the highest and the lowest...

what is the changen intemperature bewtween the highest and the lowest temperture high-40c low-0c

Math, to which subset of the real number does the number 22 belong?

to which subset of the real number does the number 22 belong?

Draw a common graph ( x - 2)2 /9+4(y + 2)2 =1, Graph     ( x - 2) 2 /9+4...

Graph     ( x - 2) 2 /9+4(y + 2) 2  = 1 Solution It is an ellipse. The standard form of the ellipse is                                                         ( x - h

Conclude the values of the six trigonometric functions, Conclude the values...

Conclude the values of the six trigonometric functions: Conclude the values of the six trigonometric functions of an angle formed through the x-axis and a line connecting the

Solve 8 cos2 (1 - x ) + 13 cos(1 - x )- 5 = 0 trig function, Solve 8 cos 2 ...

Solve 8 cos 2 (1 - x ) + 13 cos(1 - x )- 5 = 0 . Solution Now, as specified prior to starting the instance this quadratic does not factor.  Though, that doesn't mean all i

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