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

Surface area- applications of integrals, Surface Area- Applications of inte...

Surface Area- Applications of integrals In this part we are going to look again at solids of revolution. We very firstly looked at them back in Calculus I while we found the

Word problem, a recipe good for 4 servings require 1/8 tsp. black pepper an...

a recipe good for 4 servings require 1/8 tsp. black pepper and 1/2 tsp. of salt. how much black pepper and how much salt needed for 2 servings?

Explain peano''s axioms with suitable example, Question 1 Explain Peano's ...

Question 1 Explain Peano's Axioms with suitable example Question 2 Let A = B = C= R, and let f: A→ B, g: B→ C be defined by f(a) = a+1 and g(b) = b 2 +1. Find a) (f °g

Explain adding and subtracting in scientific notation, Explain Adding and S...

Explain Adding and Subtracting in Scientific Notation? To add or subtract numbers in scientific notation, the numbers must be expressed so that they have the same exponent.

Geometry, the figure is a rectangle with angle y=60. Find angle x

the figure is a rectangle with angle y=60. Find angle x

Find out general formula for tangent vector and unit vector, Find out the g...

Find out the general formula for the tangent vector and unit tangent vector to the curve specified by r → (t) = t 2 i → + 2 sin t j → + 2 cos t k → . Solution First,

Differntial equation, (3x+2)^2 d^2y/dx^2+3(3x+2)dy/dx-36y=3x^2+4x+1

(3x+2)^2 d^2y/dx^2+3(3x+2)dy/dx-36y=3x^2+4x+1

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