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

5% sales tax on a basket what was the price of the basket, The 5% sales tax...

The 5% sales tax on a basket was $0.70. What was the price of the basket? Use a proportion to solve the problem; part/whole = %/100. The whole is the price of the basket (wh

Shortcomng methods for teaching hto in maths, 1.What are the strengths and ...

1.What are the strengths and shortcomings of the methods of teaching H T 0 in Examples 1 and 2? 2. a) Think of another activity for getting children to practise H T 0, especia

Relation is not a function, The following relation is not a function.   ...

The following relation is not a function.                   {(6,10) ( -7, 3)  (0, 4)  (6, -4)} Solution Don't worry regarding where this relation came from.  It is only on

Circles, Two tangents TP and TQ are drawn to a circle with center O from an...

Two tangents TP and TQ are drawn to a circle with center O from an external point T.prove that angle PTQ=angle 2 OPQ

What is the evaluation of angle, In a periscope, a pair of mirrors is mount...

In a periscope, a pair of mirrors is mounted parallel to each other as given. The path of light becomes a transversal. If ∠2 evaluate 50°, what is the evaluation of ∠3? a. 50°

What did she pay per pound, Mona purchased one and a half pounds of turkey ...

Mona purchased one and a half pounds of turkey at the deli for $6.90. What did she pay per pound? Divide the cost of the turkey by the weight; $6.90 ÷ 1.5 = $4.60.

Understanding Logistics, How can i get a better understanding of logistics ...

How can i get a better understanding of logistics without having a degree on logistics and knowledge of it? Simply, in a very basic form..

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