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

H, 6987+746-212*7665

6987+746-212*7665

How do children learn maths?, HOW DO CHILDREN LEARN? : Have you ever tried...

HOW DO CHILDREN LEARN? : Have you ever tried teaching a young child what "ball" means? Did you do it by a lot of verbal description" Or did you let the child actually handle a b

MATLAB, how to use matlab to reverse digits of integer using mod

how to use matlab to reverse digits of integer using mod

Precalculuc, evaluate the expression and write the result in the form a + b...

evaluate the expression and write the result in the form a + bi. I^37

Muptipucation, if 2+2=4 what does two times two epual?

if 2+2=4 what does two times two epual?

.fractions, what is the difference between North America''s part of the tot...

what is the difference between North America''s part of the total population and Africa''s part

Power of x, (x+1/x)^2=3 then value of x^72+x^66+x^54+x^36+x^24+x^6+1 is

(x+1/x)^2=3 then value of x^72+x^66+x^54+x^36+x^24+x^6+1 is

How much did he have in savings at the starting, Bill spent 50% of his savi...

Bill spent 50% of his savings on school supplies, and then he spent 50% of what was left on lunch. If he had $6 left after lunch, how much did he have in savings at the starting?

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