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

How did rousseau resolve the conflict, How did Rousseau resolve the conflic...

How did Rousseau resolve the conflict between the rights of the individual and the responsibilities of government (the state)? How did the ideas about universal education and socia

Example of intersection, Can anybody provide me the solution of the followi...

Can anybody provide me the solution of the following example? You are specified the universal set as T = {1, 2, 3, 4, 5, 6, 7, 8} And the given subjects of the universal s

Probability, A card is chosen at random from a pack of playing cards.what i...

A card is chosen at random from a pack of playing cards.what is d probability that it is either a heart or the queen of spades

Example of linear in - equation - linear algebra, Explain some Examples of ...

Explain some Examples of linear in - Equation, with solution.

Word problem, Twins Olivia and Chelsea and their friend Rylee were celebrat...

Twins Olivia and Chelsea and their friend Rylee were celebrating their fourteenth birthdays with a party at the beach. The first fun activity was water games. As Nicole arrived, sh

Hypothesis testing of the difference between proportions, Hypothesis Testin...

Hypothesis Testing Of The Difference Between Proportions Illustration Ken industrial producer have manufacture a perfume termed as "fianchetto." In order to test its popul

The invisible effort on learning maths, The Invisible Effort :   Although t...

The Invisible Effort :   Although the development of children is a process, what is noticed and given recognition to is the end-product. We usually speak of children having achieve

Wronskian, In the earlier section we introduced the Wronskian to assist us ...

In the earlier section we introduced the Wronskian to assist us find out whether two solutions were a fundamental set of solutions. Under this section we will look at the other app

Describe independent events in maths, Describe Independent Events in maths?...

Describe Independent Events in maths? Events are independent if the outcome of one event does not affect the outcome of the second event. If A represents one independent event

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