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

Integration, find the area bounded by the curve y=5x^2-4x+3 from the limit ...

find the area bounded by the curve y=5x^2-4x+3 from the limit x=0 to x=5

Judgment sampling, Judgment Sampling Here the interviewer chooses whom ...

Judgment Sampling Here the interviewer chooses whom to interview believing that their view is more fundamental because they might be directly affected for illustration, to find

What is geometry formula to estimate distance, Danielle requires knowing th...

Danielle requires knowing the distance around a basketball court. What geometry formula will she use? The perimeter of a rectangle is two times the length plus two times the wi

Show that the height of the opposite house, From a window x meters hi...

From a window x meters high above the ground in a street, the angles of elevation and depression of the top and the foot of the other house on the opposite side of the street  are

Introduction to learning to count, INTRODUCTION : Most of us, when plannin...

INTRODUCTION : Most of us, when planning the first mathematical experience for three-year olds, think in terms of helping them memorise numbers from 1 to 20. We also teach them to

.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

Example of spiral development of the mathematics curriculum?, E1) Can you g...

E1) Can you give some more examples of the spiral development of the mathematics curriculum? E2) A Class 3 child was asked to add 1/4 + 1/5. She wrote 2/9. Why do you feel this

Solve the subsequent quadratic equation, Solve the subsequent quadratic equ...

Solve the subsequent quadratic equation: Solve the subsequent quadratic equation through taking the square roots of both sides. 3x 2 = 100 - x 2 Solution: Step 1

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