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

How many students are study physics alone, A class has 175 learners. The gi...

A class has 175 learners. The given table describes the number of learners studying one or more of the subsequent subjects in this case                 Subjects

Chi-square test, my question involves frequencies less than five and i cann...

my question involves frequencies less than five and i cannot aggregate the data, what do i use instead of the chi-square test?

Prove that the ratio of the sum of odd terms, If there are (2n+1)terms  in ...

If there are (2n+1)terms  in an AP ,prove that the ratio of the sum of odd terms and the sum of even terms is (n+1):n Ans:    Let a, d be the I term & Cd of the AP. ∴ ak =

Addition, in kannaha tiger reserve forest,there are 50 tigers and in bandha...

in kannaha tiger reserve forest,there are 50 tigers and in bandhavgarh reserve forest there are 35 tigers.how many tigers are there in all in both the forests

Percentage, how do you you find 40% if you 35 out of 40

how do you you find 40% if you 35 out of 40

Determine does this point lie on the line, Does this Point Lie on The Line?...

Does this Point Lie on The Line? How do you know if a point lies on a given line? For example, does the point (1, 2) lie on the line 3x + y = 7? If you graph the line and the

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