#Numerical Integration
6 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
9-1/4 should give you your h for the trapezoidal rule. Then, divide by 2.
This is what gets the "trapezoid" shape of the rule.
[1/2h]
To get the segmented parts you need the y values at each segment .
Find the value of y at 1 and at 9 then the values at n=2 and n=3
[f(1)+f(9)+2(f(n=1)+f(n=2)+f(n=3))]
I assume you have access to a calculator in which you just plug in the formula and replace x with the number inside f(x).
To find the number where n=2 and n=1 remember how many segments the area between 1 and 9 is split into. Then use the formula for delta x. 9-1/4