First off: I own and use a TI-89 Titanium.
On my calculator, I have made a function to compute the trapezoidal rule on some function with n segments. One day I decided to test it, and so I was working with x2 and decided to use 1 segment, and got the expected 1/2. Following this I decided to see what would happen when I told it to use i segments and was given an answer of 1/6. I am wondering why this happened.
If it's helpful, the method my calculator is using to calculate it is (as entered into the calculator):
Σ((upper-lower)/num*((func|var=lower+i*((upper-lower)/num))+(func|var=lower+(i+1)*((upper-lower)/num)))/2,i,0,num-1)
On my calculator, I have made a function to compute the trapezoidal rule on some function with n segments. One day I decided to test it, and so I was working with x2 and decided to use 1 segment, and got the expected 1/2. Following this I decided to see what would happen when I told it to use i segments and was given an answer of 1/6. I am wondering why this happened.
If it's helpful, the method my calculator is using to calculate it is (as entered into the calculator):
Σ((upper-lower)/num*((func|var=lower+i*((upper-lower)/num))+(func|var=lower+(i+1)*((upper-lower)/num)))/2,i,0,num-1)