According to Wikipedia, the relationship between curve length, horizontal separation, vertical separation and the catenary parameter "a" is
"a transcendental equation in "a" and must be solved numerically"
Haven't the faintest idea what a "transcendental equation" is, but "must be solved numerically" doesn't sound hopeful. Good luck! We await the mathematicians amongst us.