I have a closed curve $g$ as a map from $\mathbb{R}\rightarrow\mathbb{R}^3$ defined as: $$\vartheta \mapsto \left( \begin{array}{c} x\\ y\\ z\\ \end{array} \right) = \left( \begin{array}{c} (r_1+r_2\cos(n \vartheta))\sin(\vartheta)\\ (r_1+r_2\cos(n \vartheta))\cos(\vartheta)\\ r_2\sin(n \vartheta)\\ \end{array} \right),$$ for $0 \le \vartheta < 2\pi,$ with $r_1,r_2 \in \mathbb{R^+}$ and $n \in \mathbb{N}^+$.
The curve thus looks like a coil wound $n$ times around a torus with larger and smaller radius of $r_1$ and $r_2$.
Question 1: Does this curve have a special specific name apart from "coil"?
Question 2: How long is it?
To answer 2 as far as I understand you have to calculate $$ l = \int_{\vartheta = 0}^{2 \pi} \sqrt{\dot{x}^2+\dot{y}^2+\dot{z}^2}\; d\vartheta.$$ I have tried three times and get different results (for the term in the integral) each time (no CAS available :-(). But I have thought about an geometric approach to the solution. If one thinks like in topology about a torus as being represented by a rectangle of side lengths $2r_1\pi$ and $2r_2\pi$. When you draw the coil into the rectangle you get stripes of total lengths $$l = n\sqrt{(2 \pi \frac{r_1}{n})^2 + (2\pi r_2)^2}.$$ Might that be correct?