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

Sequences - calculus, Sequences Let us start off this section along wi...

Sequences Let us start off this section along with a discussion of just what a sequence is. A sequence is nothing much more than a list of numbers written in a particular orde

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

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

Express the product of -9p3r and the quantity 2p - 3r, Express the product ...

Express the product of -9p3r and the quantity 2p - 3r in simplified form. The translated expression would be -9p3r(2p - 3r). Noticed that the key word product means multiply.

Write down two more reasons why division is difficult, Write down two more ...

Write down two more reasons why children consider 'division' difficult. Regarding the first reason given above, one of fie few division related experiences that the child perhaps d

System of differential equations for the population, Write down the system ...

Write down the system of differential equations for the population of both predators and prey by using the assumptions above. Solution We will start off through letting that

Unitary methods, john walked to school at an average speed of 3 miles/hr a...

john walked to school at an average speed of 3 miles/hr and jogged back along the same route at 5miles/hr. if his total time was 1 hour, what was the total number of miles in the

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