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

Integrals involving trig functions - integration techniques, Integrals Invo...

Integrals Involving Trig Functions - Integration techniques In this part we are going to come across at quite a few integrals that are including trig functions and few metho

Substitution rule for definite integrals, Substitution Rule for Definite In...

Substitution Rule for Definite Integrals Now we need to go back and revisit the substitution rule as it also applies to definite integrals.  At some level there actually isn't

Calculate latest triangular area sail for his boat, Rick is order a latest ...

Rick is order a latest triangular sail for his boat. He needs knowing the area of the sail. Which formula will he use? The area of a triangle is 1/2 times the length of the bas

Mathematics Warm-Ups for CCSS, Ask question #Minimum 100 words accepted wha...

Ask question #Minimum 100 words accepted what is a ratio

Dynamic and kinematic viscosity , Tabulated values of the dynamic and kinem...

Tabulated values of the dynamic and kinematic viscosity of aqueous sodium chloride solutions have been researched in the academic literature (Kestin et al 1981). The data availab

Determine the velocity and position functions of object, Determine if the a...

Determine if the acceleration of an object is given by a → = i → + 2 j → + 6tk → find out the object's velocity and position functions here given that the initial velocity is v

Value of the game-game theory, Value Of The Game The game value refers ...

Value Of The Game The game value refers to the average pay off per play of the game over an extended period of time

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