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

Types of distribution, Types of distribution Population distribution ...

Types of distribution Population distribution This refers to the distribution of the individual values of population. This mean it is denoted by 'µ' Sample distributi

Matric, fgdg ggghfr hhrhfrf hfrrg jhj hjgg dear friend ghr tu vgu jyyiu ui ...

fgdg ggghfr hhrhfrf hfrrg jhj hjgg dear friend ghr tu vgu jyyiu ui u huik bgyuiiyts husk

Opening Account, I am expert in mathematics. How i open my expert account?

I am expert in mathematics. How i open my expert account?

Extreme value theorem, Extreme Value Theorem : Assume that f ( x ) is cont...

Extreme Value Theorem : Assume that f ( x ) is continuous on the interval [a,b] then there are two numbers a ≤ c, d ≤ b so that f (c ) is an absolute maximum for the function and

#titlefunction.., provide a real-world example or scenario that can be expr...

provide a real-world example or scenario that can be express as a relation that is not a function

Geometry, how to find the sum of the measure of the interior angles of each...

how to find the sum of the measure of the interior angles of each convex polygon

Matrix, find the matrix of the linear transformations T:R2->R2 defined by T...

find the matrix of the linear transformations T:R2->R2 defined by T(x,y,z)=(x+2y,x-3z).

Relative measures of dispersion-illustration, Illustration 2 In a ...

Illustration 2 In a described farm located in the UK the average salary of the employees is £ 3500 along with a standard deviation of £150 The similar firm has a local

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