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

the demand forecast, The King Company is producing two types of products: ...

The King Company is producing two types of products: A and B. Both products are produced on the similar machining operation. The machines operate on two 8-hour shifts, 5 days per w

Imaginay Number, how to solve imaginary number such as like (-3v-5)² ?? Can...

how to solve imaginary number such as like (-3v-5)² ?? Can I cancel the radical sign and the power of two ? and square the -3 and times to -5 ? hope you will answer this :) thanks

Activity on Node, schedulling problem with variability in task times

schedulling problem with variability in task times

Assignment help, How do get help with my work? should i just type it in thi...

How do get help with my work? should i just type it in this box...? sorry thanks!

the height of the tower, A Stone is dropped from the top of the tower and ...

A Stone is dropped from the top of the tower and travel 24.5 m in last second of its journey. the height of the tower is ...?

Fuzzy decisionmaking using minimization of regret, why we use decision maki...

why we use decision making using minimization of regret method in uncertainty?

Compounding and Simple Interest, A painting was purchased 11 years ago for ...

A painting was purchased 11 years ago for $26900. It has just been sold for $78000. Calculate the flat rate of appreciation p.a.

Root test- sequences and series, Root Test- Sequences and Series This ...

Root Test- Sequences and Series This is the final test for series convergence that we're going to be searching for at.  Like with the Ratio Test this test will as well tell wh

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