Help with a numerical Simpsons Rule

  • Thread starter Thread starter JasonJo
  • Start date Start date
  • Tags Tags
    Numerical
AI Thread Summary
To estimate the integral of y from 16 to 22 using Simpson's Rule, six subdivisions are identified: 16-17, 17-18, 18-19, 19-20, 20-21, and 21-22, resulting in N = 6. The formula for Simpson's Rule is correctly recalled as (b-a)/(3n) multiplied by the weighted sum of function values at specified points. There is confusion regarding the calculation of the midpoint (MID) for the rule, which is essential for accurate evaluation. Participants encourage sharing calculations to identify any errors in the application of the formula. Understanding the MID and its role is crucial for successfully implementing Simpson's Rule in this context.
JasonJo
Messages
425
Reaction score
2
I need help with this numerical simpsons rule problem

x y
16 -5
17 1
18 3
19 -3
20 -5
21 6
22 -8


Use the table to estimate the value of the integral y from the interval 16 to 22

the problem i am having is how many subdivision to make and how to evaluate the MID for Simpsons rule

thanks guys, you always give good help
 
Physics news on Phys.org
Simpsons rule is (if i remember correctly)...

\frac{b-a}{3n} * [f(n_1) + 4f(n_2) + 2f(n_3) ... + f(n_{last}]

Subdivisions: you are calculating from 16 to 22, so you have

16-17, 17-18, 18-19, 19-20, 20-21, and 21-22, therefore N = 6

---------------
I don't know what the MID is, but with N and the formula you should be able to use the rule accurately.
 
that doesn't seem to work
 
Well, show me what you did please. That's Simpson's Rule, so I don't know what went wrong.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top