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

Obtain the sum of the squares of values, This question is in the form of an...

This question is in the form of an exercise and questions designed to give you more insight into signal processing. On the Moodle site for the module there is an EXCEL file called

Statistics, find the number of ways 17 employees can b chosen from 327

find the number of ways 17 employees can b chosen from 327

Similar triangles, S IMILAR TRIANGLES : Geometry  is  the  right  ...

S IMILAR TRIANGLES : Geometry  is  the  right  foundation  of all  painting,  I have  decided to  teach its  rudiments  and  principles  to  all  youngsters  eager for  ar

Describe the properties of inequalities, Describe the Properties of Inequal...

Describe the Properties of Inequalities ? Postulate In comparing two quantities, say a and b, there are exactly three possibilities. (1) a is less than b. (a b)

Basic mathematics, I need help with my homework, I am to the edge right now...

I need help with my homework, I am to the edge right now with this w=5pq/2

Radius of rhim, how long is the radius of car tyre?

how long is the radius of car tyre?

Coefficient of determination, It refers to the ratio of the explained varia...

It refers to the ratio of the explained variation to the total variation and is utilized to measure the strength of the linear relationship. The stronger the linear relationship th

How to solving one-step equations, How to Solving One-Step Equations? E...

How to Solving One-Step Equations? Equations, where one math operation is acting on the variable, can be solved in one step. The trick is to get the variable x by itself - isol

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