Casio ClassPad II Custom Commands

trsum (Function)

Command last updated 21/7/2022.

Download

trsum(f, v, a, b, w)

Returns the approximation to \(\int_a^b f dv\) using trapeziums of width w and vertical parallel side lengths equal to the value of f at the trapezium’s left and right endpoints.

Example

Find the approximation of

\[\int_0^{4} \left( \dfrac{1}{27} (x-3)^2 (x+3)^2 + 1 \right) dx\]

using the trapezium rule with trapeziums of width \(1\). (Sample Methods Exam 2 Section A Question 3)

trsum((1/27)(x-3)^2(x+3)^2+1, x, 0, 4, 1)

Contributed by Nathan Chen