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

Marketing research, Discuss the role research would play during your decisi...

Discuss the role research would play during your decision making

Complex root - fundamental set of solutions, Example : Back into the comple...

Example : Back into the complex root section we complete the claim that y 1 (t ) = e l t cos(µt)        and      y 2 (t) = e l t sin(µt) Those were a basic set of soluti

Dividing, If I divide any number do I get the manservant 2 times

If I divide any number do I get the manservant 2 times

Use the power function to find derivative, Given, y = f(x) = 2 x 3 - 3x 2 ...

Given, y = f(x) = 2 x 3 - 3x 2 + 4x +5 a)  Use the Power function to find derivative of the function. b)  Find the value of the derivative at x = 4.

Limit properties, Limit Properties :  The time has almost come for us t...

Limit Properties :  The time has almost come for us to in fact compute some limits.  Though, before we do that we will require some properties of limits which will make our lif

Sketch the graph of h (t ) = 1 - 5e 1/(t/2), Sketch the graph of h (t ) = ...

Sketch the graph of h (t ) = 1 - 5e  1/(t/2) Solution : Let's primary get a table of values for this function. Following is the sketch. The major point behin

Triangles, if triangle abc is similar to def and ab/de=3/4 find the ratio a...

if triangle abc is similar to def and ab/de=3/4 find the ratio af their perimeter and area

Linear programming Special purpose of algorithm, the conclusion about stepp...

the conclusion about stepping stone method in real life situation?

How many points did he score during his senior year, Michael scored 260 poi...

Michael scored 260 points during his junior year on the school basketball team. He scored 20% more points during his senior year. How many points did he score during his senior yea

Ratios, the ratio of boys to girls in the sixth grade is 2:3 if there are ...

the ratio of boys to girls in the sixth grade is 2:3 if there are 24 boys, how many are girls?

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