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

Calculus 1, Suppose a Ferris wheel with radius of 12 meters is rotating at ...

Suppose a Ferris wheel with radius of 12 meters is rotating at a rate of 2 rotations per minute. a. How fast is a person rising when the person is 3 meters above the horizontal lin

Mod(z-25i)<15, Mod(Z-25i)   Sol) mod (Z-25i) means Z lies in the circumfer...

Mod(Z-25i)   Sol) mod (Z-25i) means Z lies in the circumference of the circle with (0,25) at its centre and radius less then 15. so difference in the max and min value of arg Z is

Find the number of students side of the square, A teacher on attempting to ...

A teacher on attempting to arrange the students for mass drill in the form of a solid square found that 24 students were left over. When he increased the size of the square by one

GRAPH, HOW CAN WE TAKE SUPPOSE THE VALUES OF X AND Y

HOW CAN WE TAKE SUPPOSE THE VALUES OF X AND Y

Explain the algebraic expressions and equations, Explain the Algebraic Expr...

Explain the Algebraic Expressions and Equations? Writing a math problem algebraically means that you are using numbers and variables to represent relationships. "Three inche

Adding fractions, please give the answer 1/9+1/3 with working out

please give the answer 1/9+1/3 with working out

Binimial, theory behind the greatest term in the binomial expansion

theory behind the greatest term in the binomial expansion

Simplification, 4.4238/[1.047+{1.111*[9.261/7.777]}*1.01

4.4238/[1.047+{1.111*[9.261/7.777]}*1.01

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