Problem:

Find the arclength of the function $f(x) = \sin (x)$ on the interval $x = 5$ to $x = 6$

from sympy import *

x = symbols('x')
f = sin(x)
a = 5
b = 6
arclength = integrate(sqrt(1 + diff(f, x) ** 2), (x, a, b))
print(arclength)
