Hi Clever guys,
I am sorry if I asked for too much, but I am really in a big problem, I had a family problem and I didn't attend most of the lectures, and now I have to hand in an assignment before easter hollydays, and to be honest with you, I don't know from where to start, I know I will have to understand this stuff, but now I don't have enough time to do the assignment, so if anyone can help me, please please, for you guys it will maybe take 20min to do it, i ll need days and days and in the end it will be all wrong. I am going to try to do the other questions, there are 5 questions :(
Please help me , I am really not a very bad student that just want to copie, but if nobody does this for me this time I will fell, please do this question for me please.. maybe you will say start it and then ask to check if it is correct, I am really trying my best, please.
that is one question:
By integrating a third order Newton Gregory Polynomial, derive Simpson’s
three eights rule given by
∫ f(x)dx (from x0 to x3 ) =3/8*ℎ(y0 + 3y1 + 3y2 + y3)
(b) Find the order of accuracy of Simpson’s rule and Simpson’s three eights rule.
(c) Write procedures to evaluate
∫ f(x)dx (from x0 to xn) to a given number of decimal places using
i) Simpson’s rule.
ii) Simpson’s three eights rule.
The data to be input should be
i) The function f(x).
ii) x0 and xn .
iii) the number of decimal place accuracy required for the solution.
The output should comprise
i) The number of strips used.
ii) the value if the integral.
thank you very much