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

50+50, what is the totel

what is the totel

Derive the probability distribution of the completion times, Derive the pro...

Derive the probability distribution of the completion times: a. The following probability distributions relate to the completion times, in weeks, T A and T B of two independ

Algebra 1, pls help me solve this step by step 6*11(7+3)/5-(6-4)

pls help me solve this step by step 6*11(7+3)/5-(6-4)

Evaluate following limits at infinity, Evaluate following limits. ...

Evaluate following limits. Solution In this part what we have to note (using Fact 2 above) is that in the limit the exponent of the exponential does this, Henc

Describe the properties of inequalities, Describe the Properties of Inequal...

Describe the Properties of Inequalities ? Postulate In comparing two quantities, say a and b, there are exactly three possibilities. (1) a is less than b. (a b)

Polynomials, In arithmetic, we deal with numbers. In contrast to this...

In arithmetic, we deal with numbers. In contrast to this, in algebra, we deal with symbols. These symbols are often represented by lower case alphabets. One of th

Simultaneous equations with two or more than two variables, Method to solve...

Method to solve Simultaneous Equations with two or more than two variables Method  Above we have seen equations wherein we are required to find the value of the

Can u please tell me how to solve, a triangle with side lengths in the rati...

a triangle with side lengths in the ratio 3:4:5 is inscribed in a circle

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