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

Number theory, show that all primes except 2, are of the form 4n-1 or 4n+1...

show that all primes except 2, are of the form 4n-1 or 4n+1.

Formula to know the area of fan will wrap, Aaron is installing a ceiling fa...

Aaron is installing a ceiling fan in his bedroom. Once the fan is in motion, he requires to know the area the fan will wrap. What formula will he use? The area of a circle is π

Factorization of expressions, Above we have seen that (2x 2 - x + 3)...

Above we have seen that (2x 2 - x + 3) and (3x 3 + x 2 - 2x - 5) are the factors of 6x 5 - x 4 + 4x 3 - 5x 2 - x - 15. In this case we are able to find one facto

Evaluate the perimeter of the plot of land, Evaluate the perimeter of the p...

Evaluate the perimeter of the plot of land. a. 260 m b. 340 m c. 360 m d. 320 m To evaluate the perimeter, we must know the length of all sides. According to the dia

What is approximation, approximate value is the precise or the accurate val...

approximate value is the precise or the accurate value which is measured  to the actual value.., approximation is how close the measured value is to the actual value , for example

Find probability simulation, A reliability system consists of 15 independen...

A reliability system consists of 15 independent components. The probability that a component works is 0.9 for each. The system works if at least 11 of the components work. Fi

Find inverse laplace transform, Question: Find Inverse Laplace Transfor...

Question: Find Inverse Laplace Transform of the following (a) F(s) = (s-1)/(2s 2 +8s+13)     (b) F(s)= e -4s /(s 2 +1) + (1/s 3 )

MARKET TARGETING STATERGIES, A MANUFACTURING UNIT IS INTERESTED IN DEVELOPI...

A MANUFACTURING UNIT IS INTERESTED IN DEVELOPING A BENEFIT SEGMENTATION OF THE CAMERA MARKET. SUGGEST SOME MAJOR BENEFIT SEGMENT WITH MARKET TARGETING STRATEGIES?

Distance traveled, a) Determine the distance traveled among t = 0 and  t =∏...

a) Determine the distance traveled among t = 0 and  t =∏/2 by a particle P(x, y) whose position at time t is given by Also check your result geometrically.  (5) b) D

Show that x(q-r) + y(r-p) + z(p-q) = 0, If the p th , q th & r th term of...

If the p th , q th & r th term of an AP is x, y and z respectively, show that x(q-r) + y(r-p) + z(p-q) = 0 Ans:    p th term ⇒ x = A + (p-1) D q th term ⇒ y = A + (

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