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

#i need help on my math homework its on algabraitle.., The question is: If ...

The question is: If 0.2 x n = 1.4,what is the value of n.

Evaluate the volume and surface area of a rectangular solid, Evaluate the v...

Evaluate the volume and surface area of a rectangular solid: Calculate the volume & surface area of a rectangular solid along with a =   3", b = 4", & c = 5".  Solution:

what are the coordinates of the vertex , Use the graph of y = x2 - 6x  to ...

Use the graph of y = x2 - 6x  to answer the following: a)         Without solving the equation (or factoring), determine the solutions to the equation  x 2 - 6x = 0  usi

Limits-of-sum, limit 0 to 2(3x^2+2) Solution) integrate 3x^2 to x^3 and...

limit 0 to 2(3x^2+2) Solution) integrate 3x^2 to x^3 and 2 to 2x and apply the limit from 0 to 2 answer is 12.

Regression coefficient, 4x+3y+7=0 and 3x+4y+8=0 find the regression coeffic...

4x+3y+7=0 and 3x+4y+8=0 find the regression coefficient between bxy and byx.

My homework, Paulina played 3 soccer games on Saturday she drank I juice bo...

Paulina played 3 soccer games on Saturday she drank I juice box during each soccer game how many juice boxes did she drank

Consumer behaviour, what is consumer behaviour according to accounting

what is consumer behaviour according to accounting

What percent of her money did she spend on lunch, Wendy brought $16 to the ...

Wendy brought $16 to the mall. She spent $6 on lunch. What percent of her money did she spend on lunch? Divide $6 by $16 to ?nd out the percent; $6 ÷ $16 = 0.375; 0.375 is equi

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