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

Trigonometry, Solve the following: Line Bearings Distance a...

Solve the following: Line Bearings Distance a. N 15 E 4km b. S 10 E ? c. N 80 W ?

Regression, regression line drawn as Y=C+1075x, when x was 2, and y was 239...

regression line drawn as Y=C+1075x, when x was 2, and y was 239, given that y intercept was 11. calculate the residual

Optimization, Optimization : In this section we will learn optimization p...

Optimization : In this section we will learn optimization problems.  In optimization problems we will see for the largest value or the smallest value which a function can take.

Correlation and regression, Correlation and Regression Correlation ...

Correlation and Regression Correlation CORRELATION is an important statistical concept which refers to association or interrelationship among variables. The reasons of

Correlation and regression, Correlation and Regression Correlation ...

Correlation and Regression Correlation CORRELATION is an important statistical concept which refers to association or interrelationship among variables. The reasons of

Determine dy & dy if y = cos ( x2 + 1) - x, Determine dy & Δy  if y = cos ...

Determine dy & Δy  if y = cos ( x 2 + 1) - x as x changes from x = 2 to x = 2.03 .  Solution Firstly let's deetrmine actual the change in y, Δy . Δy = cos (( 2.03) 2

What is her weekly paycheck assuming there are deductions, Kyra's weekly wa...

Kyra's weekly wages are $895. A Social Security tax of 7.51% and a State Disability Insurance of 1.2% are taken out of her wages. What is her weekly paycheck, assuming there are no

The limit, The Limit : In the earlier section we looked at some problems ...

The Limit : In the earlier section we looked at some problems & in both problems we had a function (slope in the tangent problem case & average rate of change in the rate of chan

Logarithmic functions, y=log4(x). i am unsure what this graph is supposed t...

y=log4(x). i am unsure what this graph is supposed to look like?

Prove which divide these sides in the ratio 2: 1, In a right triangle ABC, ...

In a right triangle ABC, right angled at C, P and Q are points of the sides CA and CB respectively, which divide these sides in the ratio 2: 1. Prove that  9AQ 2 = 9AC 2 +4BC 2

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