Problem:

Find the arclength of the function $f(x) = \frac{\tan \left(\frac{5 x}{2}\right)}{\sin ^{-1}\left(\frac{7 x}{2}\right)}$ on the interval $x = 1$ to $x = 1$

from sympy import *

x = symbols('x')
f = ((tan(((5*x)/2)))/(asin((7*x)/2)))
a = 1
b = 1
arclength = integrate(sqrt(1 + diff(f, x) ** 2), (x, a, b))
print(arclength)
