Am trying to solve some differentials from a paper called "Euler arc splines for curve completion" (https://pdfs.semanticscholar.org/e38...595cd05779.pdf) as I'm trying to program up the algorithm that they describe. I'll try to keep the problem in this post, but shout if I've missed anything.

My issue is when trying to calculate the partial differentials: and where has been used as a substitution fro the purpose of solving the algorithm.

The equation to differentiate is:

where (prepare for a long list!):

and

Where I get particularly stuck is how to get the differentials with respect to given that it is a function ofs. Am I overcomplicating it? I'm just not sure how to begin even typing this kind of problem into something like SageMath to work it out.

I'm guessing by back-substituting all of the equations, I can get in terms ofsand but then when differentiating, both seem to involve s, so I'm not sure what to do to terms that will includesbut not .

Not expecting anyone to do the problem for me, but could anyone help me just crack this step, as I've grasped all the rest of the maths in this paper!

Cheers

F