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

Activities to develop ability to classify, Let us now look at some activiti...

Let us now look at some activities that can be organised with preschoolers to develop their ability to classify. 1. You could start by giving children different materials to pla

Multiply the polynomials, Multiply following. (a) (4x 2 -x)(6-3x) (b)...

Multiply following. (a) (4x 2 -x)(6-3x) (b) (2x+6) 2 Solution  (a) (4x 2 - x )(6 - 3x ) Again we will only FOIL this one out. (4x 2  - x )(6 - 3x) = 24x 2 -

Division, Why do we start dividion operation from left to right?

Why do we start dividion operation from left to right?

MATH HELP: URGENT, the andersons are buying a new home and need to fence th...

the andersons are buying a new home and need to fence their yard. the yard is 40 ft by 80 ft. each fencing section is 8ft. how many sections will they need?how many posts will they

Contravariant vector, Ask question #suppose that components of a contravari...

Ask question #suppose that components of a contravariant vector A^i (for n=3)in the coordinate system (x^1,x^2,...,x^n) are A=x,A=y,A=z.Find the components A^p of the vector in the

Construction , construct of tangents a circle from an external point when ...

construct of tangents a circle from an external point when its centre is not known

Product, a product can be anything including physical good,services,places,...

a product can be anything including physical good,services,places,experience,nations,organizations,properties,information.discuss the statement?

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