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

Area of an ellipse, You know the experation for the area of a circle of rad...

You know the experation for the area of a circle of radius R. It is Pi*R 2 . But what about the formula for the area of an ellipse of semi-minor axis of length A and semi-major

1 application of complex analysis in THERMODYNAMICS, Hi, this is EBADULLA ...

Hi, this is EBADULLA its about math assignment. 1 application of complex analysis used in thermodynamics. . what all uses are there in that... plz let mee know this answer.

Triangles, In a triangle ABC, D &E is a are points on AB & AC ,if the one s...

In a triangle ABC, D &E is a are points on AB & AC ,if the one side of a triangle is 4cm & another side is 5 cm find that the ar(triangleABC):ar(BCDE)

Territories never was a venitian possesion, Which of those territories neve...

Which of those territories never was a Venitian possesion? Cyprus Morea Crete Sicily

Comparison test for improper integrals - integration, Comparison Test for I...

Comparison Test for Improper Integrals Here now that we've seen how to actually calculate improper integrals we should to address one more topic about them.  Frequently we ar

Linear algebra, Let A be an n×n matrix. Then Show that the set U = {u?R^n ...

Let A be an n×n matrix. Then Show that the set U = {u?R^n : Au = -3un} is a Subspace of R^n

Marketing of herbal products , To help Himalya herbal launch a successful m...

To help Himalya herbal launch a successful marketing campaign in the UK

Introduction to multiplication and division, INTRODUCTION :  When a Class ...

INTRODUCTION :  When a Class 5 child was given the problem 'If I paid Rs. 60 for 30 pencil boxes, how much did b pencil box cost?', he said it would be 60 x 30 = 1800. This

Direction fields in newtons law, One of the simplest physical situations to...

One of the simplest physical situations to imagine of is a falling object. Thus let's consider a falling object along with mass m and derive a differential equation as, when resolv

Complex, find all the 8th roots of (19+7i)

find all the 8th roots of (19+7i)

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