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

Service marketing, assignment of marketing mix on healthservices

assignment of marketing mix on healthservices

Algebra 1, how do you write this polynomial in standerd form 5x3 + x5 - 8 +...

how do you write this polynomial in standerd form 5x3 + x5 - 8 + 4x ?

Definition of infinite limits, Infinite limits : Let's now move onto the d...

Infinite limits : Let's now move onto the definition of infinite limits. Here are the two definitions which we have to cover both possibilities, limits which are positive infinity

Undetermined coefficients, UNDETERMINED COEFFICIENTS The way of Undeter...

UNDETERMINED COEFFICIENTS The way of Undetermined Coefficients for systems is pretty much the same to the second order differential equation case. The simple difference is as t

Marketing mix, 1) Identify key characteristics of product or services and e...

1) Identify key characteristics of product or services and estimate their significance to the market 2) Identify and analyse level of customer service provision to determine its si

Repeated roots, Under this section we will be looking at the previous case ...

Under this section we will be looking at the previous case for the constant coefficient and linear and homogeneous second order differential equations.  In this case we need soluti

Exercise of concrete operational stage, Which of the following statements d...

Which of the following statements do you think are true about children? Indicate with 'T' for true and for false. Give reasons for your choice. a) Most primary school children a

Melissa is four times if jim is y years old, Melissa is four times as old a...

Melissa is four times as old as Jim. Pat is 5 years older than Melissa. If Jim is y years old, how old is Pat? Start along with Jim's age, y, because he appears to be the young

Idk, Are you suppose to divide the 1 or subtract

Are you suppose to divide the 1 or subtract

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