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

What is trigonometric ratios, What is Trigonometric Ratios ? Trigonome...

What is Trigonometric Ratios ? Trigonometry, a branch of mathematics, is based on the ratios known as sine, cosine, and tangent. Trigonometric ratios apply only to right trian

External division of section formula, give me the derivation of external di...

give me the derivation of external division of sectional formula using vectors

Travel time, you are driving on a freeway to a tour that is 500 kilometers ...

you are driving on a freeway to a tour that is 500 kilometers from your home. after 30 minutes , you pass a freeway exit that you know is 50 kilometer from your home. assuming that

Application of probability in business, Application of Probability in Busin...

Application of Probability in Business 1. Business games of chance for illustration, Raffles Lotteries. 2. Insurance firms: this is generally done when a new client or prop

Geometry, Ask question A triangle has two sides that measure 23 ft and 30 f...

Ask question A triangle has two sides that measure 23 ft and 30 ft. Which could be the measure of the third side? A. 5 ft B. 7 ft C. 10 ft D. 53 ft #Minimum 100 words accepted

Geometry, how much congruent sides does a trapezoid have

how much congruent sides does a trapezoid have

Linear independence and dependence, It is not the first time that we've loo...

It is not the first time that we've looked this topic. We also considered linear independence and linear dependence back while we were looking at second order differential equation

Find out that vector are linearly dependent, Find out if the following set ...

Find out if the following set of vectors are linearly independent or linearly dependent. If they are linearly dependent get the relationship among them. Solution : Ther

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