Problem:

Find the arclength of the function $f(x) = e^{-3 x^5}$ on the interval $x = 1$ to $x = 1$

import math

from sympy import *

x = symbols('x')
f = math.e**(-3*x**5)
a = 1
b = 1
arclength = integrate(sqrt(1 + diff(f, x) ** 2), (x, a, b))
print(arclength)
