- #1

- 19

- 0

## Homework Statement

I need to find total distance traveled for an object using the speed profile

which is the absolute value of velocity before integrating. so we finish up with the total distance travelled, rather than the final displacement from the initial position.

And this is the function i need to numerically integrate using the

*The Trapezium Rule*.

Needed Values:

The h Value-

The N Value-

The Total Area-

__I Have Data Sets Which is Shown In The Picture Below__

http://imageshack.us/f/69/numericalintegration.png/

NOTE:

Calculate the total area under the curve for a data set, starting with an h value of 0.1 and then continuing with h = 0.01, 0.001, etc. until the latest two calculations are within 0.0005of each other, or h becomes 0.00001.

Could Someone Use One of The Data Sets to Show Hows it Done Then i'll Do The Rest of Them

## Homework Equations

**Velocity Profile**V(x) = x

^{2}+ b. x

^{1}+c x

^{0}+ d.x

^{-1}

defined by the 3 coefficients for the powers of x

^{1}, x

^{0}, and x

^{-1}:

Remember that

x

^{1}= x

x

^{0}= 1

x

^{-1}= [itex]\frac{1}{x}[/itex]

So, the most interesting thing about this velocity profile is that it is undefined when x equals 0.

**Speed Profile**Sp(x) = |x

^{2}+ b. x

^{1}+c x

^{0}+ d.x

^{-1}|

**Area**= h [itex]\frac{F(x

_{i}_{i})+F(x

_{i+1})}{2}[/itex]

with X

_{i+1}= x

_{1}+h

**N**= [itex]\frac{(x

_{final}-x

_{initial})}{h}[/itex]

**Total Area**= Sum of the Area

_{i}values from 0 to N-1

## The Attempt at a Solution

|x

^{2}+ b. x

^{1}+c x

^{0}+ d.x

^{-1}|

|x

^{2}+ 1. x

^{1}+4 x

^{0}+ -6.x

^{-1}|

Last edited: