MedVision ad

can someone show us the short way of doing the trapezodal rule (1 Viewer)

red802

Member
Joined
Jan 25, 2006
Messages
101
Gender
Undisclosed
HSC
N/A
i know how to do it the long way, e.g find 7 trapizia for something, and repeat the equation like 7 times, but how do u do the short way
 
P

pLuvia

Guest
Err, I don't know what you mean by the short way but here's the equation

b
∫ f(x) dx ≈ h/2 [f(a) + 2(x1 + x2 + x3 +...+) + f(b)]
a

NOTE

h= b-a/ n

Where n is the number of sub intervals
 
Last edited by a moderator:

Riviet

.
Joined
Oct 11, 2005
Messages
5,593
Gender
Undisclosed
HSC
N/A
ab f(x) dx = h/2 . [yo+yn + 2(y1+y2+y3+...+yn-1)]

Where h is difference between consecutive x-values or (b-a)/n, yo is the first y-value, yn is the nth (last) y-value, and y1 to yn-1 represents all the other y-values in between the first and last y-value.
 
Last edited:

Riviet

.
Joined
Oct 11, 2005
Messages
5,593
Gender
Undisclosed
HSC
N/A
whiteslice11 said:
a easy word way of remembering..

h/2 [(first plus last) + 2xrest]
That's how I remember it. :)

The one I've given is the more formal way of writing it.
 

red802

Member
Joined
Jan 25, 2006
Messages
101
Gender
Undisclosed
HSC
N/A
kool, can someone help me with this question because i done that an i got the wrong answer,

equation

f2,0(that intergal thing b=2, a =0)

(x^2+x)

this is how i done it

0.4/2 (0+2(0.56+1.44+2.64+4.16)+2)
=3.92

but the answer is 4.72
do u guys know the problem
 

insert-username

Wandering the Lacuna
Joined
Jun 6, 2005
Messages
1,226
Location
NSW
Gender
Male
HSC
2006
red802 said:
kool, can someone help me with this question because i done that an i got the wrong answer,

equation

f2,0(that intergal thing b=2, a =0)

(x^2+x)

this is how i done it

0.4/2 (0+2(0.56+1.44+2.64+4.16)+2)
=3.92

but the answer is 4.72
do u guys know the problem
Your problem is here:

0.4/2 (0+2(0.56+1.44+2.64+4.16)+2)

You haven't squared 2 and added 2 to it, like you have for each other value. 22 + 2 = 6. Use 6 instead of 2 and you'll get the right answer.


I_F
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top