simpsons rule and trap rule !!! (1 Viewer)

Alx2

Member
Joined
Aug 14, 2011
Messages
35
Gender
Male
HSC
2012
hey,,

how many function values is one strip ?
and how many function values is ordinate ?

o.o

thnx
 

Carrotsticks

Retired
Joined
Jun 29, 2009
Messages
9,494
Gender
Undisclosed
HSC
N/A
2 function values for 1 strip, since 1 function value is just a line. We need 2 lines for a strip.

Don't get your second question.
 

SunnyScience

Member
Joined
Oct 10, 2011
Messages
706
Gender
Male
HSC
2012
Carrotsticks, is there a way you remember how to obtain the correct value for 'h'? I always get confused...Also, which terms to multiply by 4 and 2 in Simpsons?
 

Carrotsticks

Retired
Joined
Jun 29, 2009
Messages
9,494
Gender
Undisclosed
HSC
N/A
Carrotsticks, is there a way you remember how to obtain the correct value for 'h'? I always get confused...Also, which terms to multiply by 4 and 2 in Simpsons?
For both of them, the H is just the length of the strip or the distance between intervals.

I remember it as 2 for Trapezoidal Rule because the area of trapezium formula has a 2 in it.

So therefore Simpson's must have 4.
 

SunnyScience

Member
Joined
Oct 10, 2011
Messages
706
Gender
Male
HSC
2012
For both of them, the H is just the length of the strip or the distance between intervals.

I remember it as 2 for Trapezoidal Rule because the area of trapezium formula has a 2 in it.

So therefore Simpson's must have 4.
Thanks :)
But I referring to the 2 and 4 multipliers which occur in the middle of the Simpsons function: 2 for evens, 4 for odds?
 

Carrotsticks

Retired
Joined
Jun 29, 2009
Messages
9,494
Gender
Undisclosed
HSC
N/A
Thanks :)
But I referring to the 2 and 4 multipliers which occur in the middle of the Simpsons function: 2 for evens, 4 for odds?
Ohh right, I got confused because there are 2 versions of Simpson's Rule.

Anyway, I remember it as FOTE.

Four
Odd

Two
Even.
 

Kostie100

Member
Joined
Mar 18, 2012
Messages
145
Location
Sydney
Gender
Male
HSC
2013
I use H/3{f(a)+f(b)+4(EVENS)+2(ODDS)}

Sorta of the opposite to what you use carrot sticks...
 

Kostie100

Member
Joined
Mar 18, 2012
Messages
145
Location
Sydney
Gender
Male
HSC
2013
I use H/3{f(a)+f(b)+4(EVENS)+2(ODDS)}

Sorta of the opposite to what you use carrot sticks...
 

Carrotsticks

Retired
Joined
Jun 29, 2009
Messages
9,494
Gender
Undisclosed
HSC
N/A
That's because I use a y_0, but some people don't have a y_0, but have y_1 instead.

So everything gets 'shifted' up by 1 and therefore odds turn to evens and visa versa.
 

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

Top