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

Circles - common polar coordinate graphs, Circles - Common Polar Coordinate...

Circles - Common Polar Coordinate Graphs Let us come across at the equations of circles in polar coordinates. 1. r = a . This equation is saying that there is no matter

Solution Of Rectilinear Figures, Find the number of square feet of pavement...

Find the number of square feet of pavement required for the shaded portion of the streets shown in the figure, all the streets being 50 feet wide.

Help!!!, The equation -2x^2-kx-2=0 has two different real soultions. find t...

The equation -2x^2-kx-2=0 has two different real soultions. find the set of possible values for k.

HELP, HOW MANY TENS ONES AND HUNDRED ARE IN A GROUP OF 2

HOW MANY TENS ONES AND HUNDRED ARE IN A GROUP OF 2

Calc, How to find a function

How to find a function

Area related to circle, If ABCD isaa square of side 6 cm find area of shad...

If ABCD isaa square of side 6 cm find area of shaded region

Linear equations, A police academy is training 14 new recruits. Some are wo...

A police academy is training 14 new recruits. Some are working dogs and others are police officers. There are 38 legs in all. How many of each type of recruits are there?

Possible outcome of a coin - probability based question, A coin is tossed t...

A coin is tossed twice and the four possible outcomes are assumed to be equally likely. If A is the event,  both head and tail have appeared , and B be the event at most one tail i

Calculus, what is a domain of a function?

what is a domain of a function?

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