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

Regression, A regression line drawn as Y=C+1075x, when x was 2, and y was 2...

A regression line drawn as Y=C+1075x, when x was 2, and y was 239, given that y intercept was 11. calculate the residual

#title., am i going to get As

am i going to get As

Taylor series - sequences and series, Taylor Series - Sequences and Series ...

Taylor Series - Sequences and Series In the preceding section we started looking at writing down a power series presentation of a function.  The difficulty with the approach

Math on a spot, compare: 643,251: 633,512: 633,893. The answer is 633,512.

compare: 643,251: 633,512: 633,893. The answer is 633,512.

Multiples, The sum of the smallest and largest multiples of 8 up to 60 is?

The sum of the smallest and largest multiples of 8 up to 60 is?

Which number falls among 5.56 and 5.81, Which number falls among 5.56 and 5...

Which number falls among 5.56 and 5.81? If you add a zero to the end of 5.6 to get 5.60, it is simpler to see that 5.56

Simplifying rational expressions, I need to simple this rational expression...

I need to simple this rational expression, but I can''t figure out how. (x+1)/(x^2-2x-35)+(x^2+x-12)/(x^2-2x-24)(x^2-4x-12)/(x^2+2x-15)

Ogive, How to construct a histogram into an ogive

How to construct a histogram into an ogive

Analalitic geometry, 1. Write down the canonical equations of the line pass...

1. Write down the canonical equations of the line passing through the point A(2,3, 4) and being parallel to the vector q ={5,0,-1}.

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