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

Function and relation, how to know if it is function and if is relation

how to know if it is function and if is relation

Value of the game-game theory, Value Of The Game The game value refers ...

Value Of The Game The game value refers to the average pay off per play of the game over an extended period of time

The larger angle 15 find the measure of the smaller angle, Two angles are c...

Two angles are complementary. The larger angle is 15° more than twice the smaller. Find out the measure of the smaller angle. Let x = the number of degrees in the smaller angle

Fermats theorem, Fermat's Theorem  If f(x) has a relative extrema at x...

Fermat's Theorem  If f(x) has a relative extrema at x = c and f′(c) exists then x = c is a critical point of f(x). Actually, this will be a critical point that f′(c) =0.

Estimation of difference among population proportions , Estimation of diffe...

Estimation of difference among population proportions Assume the two proportions be described by P1 and P2, respectively,Then the difference absolute between the two proportion

Help, question..A Circular rug is 6 yards in diameter. Binding for the edge...

question..A Circular rug is 6 yards in diameter. Binding for the edge of the rug cost $2.00 per yard . what eill it cost to bind the rug

Differential equations, There isn't actually a whole lot to this section th...

There isn't actually a whole lot to this section this is mainly here thus we can get several basic concepts and definitions out of the way.  Most of the concepts and definitions in

Quadric surfaces - three dimensional spaces, Quadric Surfaces Earlier w...

Quadric Surfaces Earlier we have looked at lines and planes in three dimensions (or R 3 ) and when these are used fairly heavily at times in a Calculus class there are several

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