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

Non linear relationships, Non Linear Relationships If the correlation ...

Non Linear Relationships If the correlation coefficient and the scatter diagram do not indicate linear relationship, then the relationship may be nonlinear. Two such relations

Which team should get the ball at the beginning, Why is tossing a coin cons...

Why is tossing a coin considered to be a fair way of deciding which team should get the ball at the beginning of a foot ball match? Ans: equally likely because they are mutual

Algebra, how do you solve quadratic equations by factoring?

how do you solve quadratic equations by factoring?

Explain how to converting percents to decimals , Explain how to Converting ...

Explain how to Converting Percents to Decimals ? Percent : "Percent" means "per hundred." Percents are represented by a percent sign ( % ) to the right of a number.  For exam

What was joe's approximate raw act score, Using the same mean and standard ...

Using the same mean and standard deviation from problem 10 (mean m = 20.1 and a standard deviation s = 5.8). Joe was informed that he scored at the 68 th percentile on the ACT, wh

Explain simplifying rational expressions, Explain Simplifying Rational Expr...

Explain Simplifying Rational Expressions ? A rational expression, or algebraic fraction, is an expression in which you have a polynomial divided by a polynomial. Sometimes it

Roman numerals, how to determine roman numerals to digits specially when it...

how to determine roman numerals to digits specially when it hundred thousands

#algebra, what is the answer of 6_5x9_4x3(1_2)

what is the answer of 6_5x9_4x3(1_2)

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