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

Term paper topics, please suggest me that how can i get the term papers top...

please suggest me that how can i get the term papers topics?

Decimals, how do u add them together?

how do u add them together?

Generate a 30-ounce solution which was 28% acid, A chemist mixed a solution...

A chemist mixed a solution which was 34% acid with another solution that was 18% acid to generate a 30-ounce solution which was 28% acid. How much of the 34% acid solution did he u

Find the lesser of two consecutive positive even integers, Find the lesser ...

Find the lesser of two consecutive positive even integers whose product is 168. Let x = the lesser even integer and let x + 2 = the greater even integer. Because product is a k

Ratio, number of consonants to the number of letters in the English Alphabe...

number of consonants to the number of letters in the English Alphabet express answer in ratio

Making connections with maths, MAKING CONNECTIONS :  you have read about w...

MAKING CONNECTIONS :  you have read about what the ability to think mathematically involves. In this section we shall discuss ways of developing this ability in children. As yo

Invertible Matrices - Logical equivalence, 10 statements must be shown to b...

10 statements must be shown to be logically equivalent to the Statement the nxn matrix is invertible.

What were her sales for the month of may of medical supplies, Kim is a medi...

Kim is a medical supplies salesperson. Each month she receives a 5% commission on all her sales of medical supplies up to $20,000 and 8.5% on her total sales over $20,000. Her tota

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