Simpson's Rule (1 Viewer)

emanuel

New Member
Joined
Nov 7, 2004
Messages
15
Is there a difference between the way the Simpson's Rule is given in 2 unit and Extension 1. Because I am a 3 unit student and find myself getting questions about this wrong in 2 unit papers, the Simpson's Rule as I learned it is as follows:
(1/6)(b-a)(f(a) + 4f((a+b)/2) + f(b))

Not sure if perhaps the 2 unit course has a different expression for it?
 

acmilan

I'll stab ya
Joined
May 24, 2004
Messages
3,989
Location
Jumanji
Gender
Male
HSC
N/A
er the above formula only works when there are 3 function values, what if they give you 4 or 5 or 6 or more? (which is highly possible) I dont know what you mean by 2 and 3 unit version, there should only be one version.
 

Dreamerish*~

Love Addict - Nakashima
Joined
Jan 16, 2005
Messages
3,705
Gender
Female
HSC
2005
There's another way.

I'm also do 3U, but I didn't know the two rules were categorised as 2U and 3U rules. :confused:

h/3.[y0 + yn + 4(y1 + y3 + ... all the other odd function values) + 2(y2 + y4 + ... all the other even function values)]

I always found that one easier.

EDIT: Acmilan's right. I rememeber someone telling me that the h/6 formula only works for 3 function values, and if there are more than 3, you need to repeat it.

Now I realise why I found the h/3 formula easier. :p
 
Last edited:

laurel18

Keep smiling Ü
Joined
Mar 17, 2005
Messages
217
Location
Sydney
Gender
Female
HSC
2005
way i learnt it:

h/3 [(y0 + yn) +4 (y1 + y3 + y5+...) + 2(y2 + y4 + y6+...)]

where h is the width

but i don't suggest you learn it this way as you might get confused in exam...
 

Dreamerish*~

Love Addict - Nakashima
Joined
Jan 16, 2005
Messages
3,705
Gender
Female
HSC
2005
laurel18 said:
way i learnt it:

h/3 [(y0 + yn) +4 (y1 + y3 + y5+...) + 2(y2 + y4 + y6+...)]

where h is the width

but i don't suggest you learn it this way as you might get confused in exam...
This way is much less confusing, in my opinion.

The h/6 method words three function values at a time. Therefore if he gets a question with nine funtion values, he has to do three calculations, whereas with the h/3 formula, you can input everything into one and just let your calculator do the work.

The important thing is not to get h/3 and h/6 mixed up.
 

laurel18

Keep smiling Ü
Joined
Mar 17, 2005
Messages
217
Location
Sydney
Gender
Female
HSC
2005
yeah I think so too Dreamerish*~...so probably ditch the first formula and then learn this one which you can use for everything...then you're good to go...
 

rama_v

Active Member
Joined
Oct 22, 2004
Messages
1,151
Location
Western Sydney
Gender
Male
HSC
2005
The way I learnt it, it can be applied to everything
h = (b-a)/n where n is one less than the number of function values (i.e. n is the number of intervals/strips)

A = h/3 [f(a) + 4f(a + h) + 2f(a + 2h) + 4f(a + 3h) +...+f(b) ]

Its basically the same as the other formulas mentioned above.
 
Last edited:

acmilan

I'll stab ya
Joined
May 24, 2004
Messages
3,989
Location
Jumanji
Gender
Male
HSC
N/A
rama_v said:
The way I learnt it, it can be applied to everything
h = (b-a)/n where n is one less than the number of function values (i.e. n is the number of intervals/strips)

A = h[ /sup]/3 [f(a) + 4f(a + h) + 2f(a + 2h) + 4f(a + 3h) +...+f(b) ]

Its basically the same as the other formulas mentioned above.


You, my friend, learnt the proper way to do it :)
 

emanuel

New Member
Joined
Nov 7, 2004
Messages
15
Same goes with the Trapezoidal rule I just discovered I had the crap version... I am sad to say that this may have been my teacher's blunder
 

rama_v

Active Member
Joined
Oct 22, 2004
Messages
1,151
Location
Western Sydney
Gender
Male
HSC
2005
emanuel said:
Same goes with the Trapezoidal rule I just discovered I had the crap version... I am sad to say that this may have been my teacher's blunder
haha yeah..i was very lucky our teacher told us the good way :D
 
P

pLuvia

Guest
Dreamerish*~ said:
There's another way.

I'm also do 3U, but I didn't know the two rules were categorised as 2U and 3U rules. :confused:

h/3.[y0 + yn + 4(y1 + y3 + ... all the other odd function values) + 2(y2 + y4 + ... all the other even function values)]

I always found that one easier.

EDIT: Acmilan's right. I rememeber someone telling me that the h/6 formula only works for 3 function values, and if there are more than 3, you need to repeat it.

Now I realise why I found the h/3 formula easier. :p
yeh my tutor said that way is much easier, some textbooks expand the brackets making it harder to understand and same with trapezoidal rule.
 

Meldrum

Banned
Joined
Oct 20, 2004
Messages
1,270
Location
Gone.
Gender
Male
HSC
2005
Seeing how there are different rules and different methods of achieving an answer, can they theoretically ask you a question where only one version of the rule can achieve the answer?
 

rama_v

Active Member
Joined
Oct 22, 2004
Messages
1,151
Location
Western Sydney
Gender
Male
HSC
2005
Gavrillo said:
Seeing how there are different rules and different methods of achieving an answer, can they theoretically ask you a question where only one version of the rule can achieve the answer?
no, because all the rules, when applied correctly, should yield the same answer...
 
P

pLuvia

Guest
Gavrillo said:
Seeing how there are different rules and different methods of achieving an answer, can they theoretically ask you a question where only one version of the rule can achieve the answer?
The rule is the same version if you look at it closely you just rearrange the numbers and factorise it, or expand etc.
 

MichaelPH

New Member
Joined
Aug 11, 2005
Messages
6
I have only learnt the h/3 formula but got the answer wrong in the 2000 paper, when i'm sure i'm doing it correctly- the solutions use the h/6 formula, getting a different result.
 

rama_v

Active Member
Joined
Oct 22, 2004
Messages
1,151
Location
Western Sydney
Gender
Male
HSC
2005
MichaelPH said:
I have only learnt the h/3 formula but got the answer wrong in the 2000 paper, when i'm sure i'm doing it correctly- the solutions use the h/6 formula, getting a different result.
lol, its because they ask for 5 or another number of function values when you've only used three - I would strongly suggest not to use those formuilas that are designed assuming that you have 3 function values or whatever...but you should get the same answer when you apply the formula you used twice.
 

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

Top