You are Here: Home >< Maths

# Simpsons Method - help watch

1. Hi, I have a question which asks me to evaluate

Using Simpson's rule 40 times. (Using mathematica)

I have a = ; b = , n = , h =

I have notices though, that I should have x[i] = a +ih for i = 0, ... , 2n

But even for i = 0, I have:

f[x[i]] =

I'm not sure where I'm going wrong.

My mathematica seems to have decided that dividing by 0 is too much to handle, and has crashed

Any help would be appreciated
2. (Original post by ekudamram)
Any help would be appreciated
Well and is going to be negative in the interval .

So, I don't see how you can apply Simpson's rule to this.

Are you sure the function/limts are correct?
3. (Original post by ghostwalker)
Well and is going to be negative in the interval .

So, I don't see how you can apply Simpson's rule to this.

Are you sure the function/limts are correct?
Yeah, I've written down exactly what he gave in the question.

The only thing I can think of is that he's written it down wrong, as if it was

Then this gives
4. (Original post by ekudamram)
Yeah, I've written down exactly what he gave in the question.

The only thing I can think of is that he's written it down wrong, as if it was

Then this gives
I'd check back with the person who gave you the question, if that's possible.

Failing that others on the course.

Failing that go with what you think it should be - as per your previous post.
5. (Original post by ghostwalker)
I'd check back with the person who gave you the question, if that's possible.

Failing that others on the course.

Failing that go with what you think it should be - as per your previous post.
Yeah, I have emailed him, but I'm not expecting any reply until at least tuesday, so I will ask someone on my course.
Although the only person I really know is celebrating her anniversary with her boyfriend today, so I'll leave it for tonight.

But yeah, I think it must be written down wrong, although I've spent all day today trying to work around it, so that's 8 hours wasted

Thank you for helping though

### Related university courses

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: March 29, 2013
Today on TSR

### A-Level OCR Biology Unofficial Markscheme

Find out how you've done here

### 1,825

students online now

Exam discussions

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams