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

Adding integers, Do you subtract when you add integers.

Do you subtract when you add integers.

Childrens errors are a natural and inevitable part, Childrens errors are a ...

Childrens errors are a natural and inevitable part of their process of learning. In the process of grasping new concepts, children apply their existing understanding, which may

Slope, how would I graph the equation 2x-5y=5?

how would I graph the equation 2x-5y=5?

0^0, what is the value of zero to the power raised to zero?

what is the value of zero to the power raised to zero?

Calculate maximum area of the triangle, if the sum of lengths of hypotenuse...

if the sum of lengths of hypotenuse and a side of right triangle are given, prove the area of the triangle is maximum when angle between them is pi/3

Ampltude and period, find the amplitude and period of y=3 sin 2 pi x

find the amplitude and period of y=3 sin 2 pi x

Determine the centralizer and the order of the conjugacy, Determine the cen...

Determine the centralizer and the order of the conjugacy: 1)      Determine the centralizer and the order of the conjugacy class of the matrix [1, 1; 0, 1] in Gl­ 2 (F 3 ).

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