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

Explain that odd positive integer to be a perfect square, Show that for odd...

Show that for odd positive integer to be a perfect square, it should be of the form 8k +1. Let a=2m+1 Ans: Squaring both sides we get a2 = 4m (m +1) + 1 ∴ product of two

Example on abels theorem, Without solving, find out the Wronskian of two so...

Without solving, find out the Wronskian of two solutions to the subsequent differential equation. t 4 y'' - 2t 3 y' - t 8 y = 0 Solution : First thing that we want to d

Homework, How do you simplify 10:30:45

How do you simplify 10:30:45

If a sequence is bounded and monotonic then it is convergent, Theorem ...

Theorem If {a n } is bounded and monotonic then { a n } is convergent.  Be cautious to not misuse this theorem.  It does not state that if a sequence is not bounded and/or

Chp 8 Study, Center and Radius 1)(x+2)^2-(y-3)^2=4

Center and Radius 1)(x+2)^2-(y-3)^2=4

Demerits and merit-the geometric mean , The geometric mean Merits ...

The geometric mean Merits i.  This makes use of all the values described except while x = 0 or negative ii.   This is the best measure for industrial increase rates

Shares and dividends, I need to make an assignment on this topic what shoul...

I need to make an assignment on this topic what should i write in it

Triangle, we have to find the perimeter when 1 rib is 7 cm and another rib...

we have to find the perimeter when 1 rib is 7 cm and another rib is 5 cm

Fractions, what is the lowest term of 11/121

what is the lowest term of 11/121

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