Join free to take this lesson
Anyone can look around, but taking a lesson needs a free account. With one, your answers are checked step by step and your progress is saved, so you can stop and pick up where you left off on any device.
12 steps · about 25 min
By the end you can
- Work out one pair of strips by Simpson's rule: h / 3 * (v0 + 4 * v1 + v2)
- Pick every second value with a slice that steps by 2: v[1::2]
- Write Simpson's rule for a whole array, with an even number of strips
- Measure Simpson's error shrinking about 16 times when h halves
Who it is for: Anyone who has done lesson 11.3.
The steps
- A curve over each pair
- A straight pair
- One pair
- Every second value
- The middles
- The left ends
- Simpson's rule in one line
- Simpson on the tram
- Halve h again
- Measure Simpson's error
- An odd number of strips
- Two rules
Discussion 0 comments
Log in to join the discussion.