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

saxon math, what is the muttiplied number of mutttiplacation calle

what is the muttiplied number of mutttiplacation called

Logic, INSTRUCTIONS: Construct a regular proof to derive the conclusion of ...

INSTRUCTIONS: Construct a regular proof to derive the conclusion of the following argument: 1. H v (~T > R) 2. Hv (E > F) 3. ~T v E 4. ~H & D / R v F INSTRUCTIONS: Con

Generic rectangle puzzle solve, What do you need to multiply 30 by to get 1...

What do you need to multiply 30 by to get 1500? This will give you the top edge length of the rectangle. Can you then figure out what must go below the 30 in order to get the area

Polynomials in one variable, Polynomials In this section we will discu...

Polynomials In this section we will discuss about polynomials.  We will begin with polynomials in one variable. Polynomials in one variable Polynomials in one variable

Eometyr, Lines EF and GH are graphed on this coordinate plane. Which point ...

Lines EF and GH are graphed on this coordinate plane. Which point is the intersection of lines EF and GH?

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