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

Precal, The law of cosines can only be applied to acute triangles. Is this ...

The law of cosines can only be applied to acute triangles. Is this true or false?

The sum of -4 and a number is equal to -48 what is number, The sum of -4 an...

The sum of -4 and a number is equal to -48. What is the number? Let x = the number. Because sum is a key word for addition, the equation is -4 + x = -48. Add 4 to both sides o

Dr.., I need some material on Bachet equation

I need some material on Bachet equation

Define points, Define Points, Lines, and Spaces Points, lines, and planes...

Define Points, Lines, and Spaces Points, lines, and planes are known as undefined or primitive terms. These are the most significant and fundamental concepts in the study of geom

Geometry, #question.prove that the diagonals of a trapezium divide each oth...

#question.prove that the diagonals of a trapezium divide each other proportionally .

Class 10, chapter permutation & combination ex :4.6

chapter permutation & combination ex :4.6

Integers , (-85) from (-21) and explain me

(-85) from (-21) and explain me

Equations and Inequalities, Write an algebraic expression for “Julie runs t...

Write an algebraic expression for “Julie runs three miles less than twice the number of miles,

Erp for a company, recomendation to a company to implement ERP to succeed

recomendation to a company to implement ERP to succeed

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