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

Fact - undetermined coefficients, Here, let's take a look at sums of the fu...

Here, let's take a look at sums of the fundamental components and/or products of the fundamental components. To do this we'll require the following fact. Fact- Undetermined Co

Extrema- minimum and maximum values, Extrema : Note as well that while we ...

Extrema : Note as well that while we say an "open interval around x = c " we mean that we can discover some interval ( a, b ) , not involving the endpoints, such that a Also,

Marketing mix, 1) Identify key characteristics of product or services and e...

1) Identify key characteristics of product or services and estimate their significance to the market 2) Identify and analyse level of customer service provision to determine its si

Discrete-time signals as energy or power signals, Classify the following di...

Classify the following discrete-time signals as energy or power signals. If the signal is of energy type, find its energy. Otherwise, find the average power of the signal. X 1

4.4238/[1.047+{1.111*[9.261/7.777]}*1.01, Ask question #Min 4.4238/[1.047+{...

Ask question #Min 4.4238/[1.047+{1.111*[9.261/7.777]}*1.01

Experiments probabillity of compound events, what is the expiremental proba...

what is the expiremental probability that the next toss and spin will result in 3 and tail if 1-heads,53.2-heads,49.3-heads,54.1-tail,65.2-tails,71.3-tails,62

Rental car agency has 50 cars, Rental car agency has 50 cars. Rental rate i...

Rental car agency has 50 cars. Rental rate in winter is 60%. What is probability that in give winter month the rental rate is fewer than 35 cars rented? Use normal distribution to

3D Trigometry problems, I have difficuties in working out those 3D trigomen...

I have difficuties in working out those 3D trigomentry problems within teh shortest possible time. Are there any tricks to get through such problems as soon as possible?

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