This is a simple continuation from the last post “Taming the T-handle“. We ended up with the equation

(1)

where

(2)

To find let us assume that , we need to integrate

Setting we transform the above into

Searching the net we can find the integral of this type, for instance on the Wolfram’s page about elliptic integrals of the third order we can find:

Then we set therefore – see Jacobi amplitude- realism or cubism,

so that

In principle we could now substitute the values of and consider our task essentially done. But that would be not very prudent! The point is that we have the parameter and, depending on the case, this parameter can have value: and The case is very special and should be treated separately. No elliptic functions are needed in this case. Moreover not every software used for calculations and simulations will know what to do with and even if it pretends to know, it may happen that in this domain the software is not sufficiently tested and debugged. It is for this reason that we now consider the three cases separately.

**The case of**** i.e. **

This is the most straightforward case. From Taming the T-handle, Eq. (10), we have

(3)

(4)

Thus

and we are done.

**The case of**** i.e. **

**
**This is a tricky case. For we have (see Jacobi Elliptic Functions, Eqs. (33)-(35), and this comment)

(5)

To find we need to integrate

We can go to Wolfram Alpha, and ask it to integrate it. It will, but we will not like the answer. It looks very-very ugly!

In principle we could try to simplify it, but it is better to make one step back in order to make two steps forward! Let us go back to Eq. (1) and write it as just one fraction:

(6)

(7)

So, we need to integrate the function

(8)

We can go again to Wolfram Alpha and what we get this time is so much nicer!

All we have to substitute the constants. It is a mechanical task, so we can use REDUCE, so we use REDUCE or any other software capable of symbolic computation. I used Mathematica. Here is the result, followed by a complete summary of the case:

(9)

(10)

(11)

(12)

(13)

(14)

(15)

Changing signs of any two of three components we can obtain altogether four different evolutions of a painted T_handle. But that, and also the case of must wait for the next post.

But here are four pictures of the painted T-handle, rotated according to the above algorithm, at where the three last cases correspond to flipped sign of as follows:

### Update

You can download my experimental Mathematica cdf file that can be run using free CDF Player. It shows the code and the animation for the four cases mentioned above.