I'm trying to write Tikz that will draw lines on a circle at regular intervals (in order to slice it) and have used this code:
\begin{tikzpicture} \draw (0,0) circle(2); \draw plot[domain=pi:2*pi] ({2*cos(\x r)},{.4*sin(\x r)}); \draw[dashed] plot[domain=0:pi] ({2*cos(\x r)},{.4*sin(\x r)}); \foreach \y in {-2, -1.8, ..., 2}{ \draw (sqrt{4-\y*\y},\y) -- (-1 * sqrt{4-\y*\y},\y); } \end{tikzpicture} which as you can guess, isn't the result I'm looking for, where did I go wrong?

\draw ({sqrt(4-\y*\y)},\y) -- ({-1 * sqrt(4-\y*\y)},\y);instead of\draw (sqrt{4-\y*\y},\y) -- (-1 * sqrt{4-\y*\y},\y);