\documentclass[10pt,a4paper]{ctexart}\usepackage{tikz}\usetikzlibrary{math}\begin{document}\begin{tikzpicture}\begin{scope}\clip(-4,0)rectangle(2,4); %開窗\tikzmath{ coordinate \c; % 定義變量 for \x in {90,100,...,270}{ %做循環 \c = (\x:2); {\draw(\c)circle(2);\draw[-stealth,dashed](0,0)--(\x-90 :1);}; %畫圖 };}\end{scope}\tikzset{xshift=5cm,yshift=2cm} %設置起筆畫點
\tikzmath{ coordinate \c; % 定義變量 for \x in {0,10,...,360}{ %做循環 \c = (\x:1); {\draw(\c)circle(1);\draw[-stealth,dashed](0,0)--(\x-90 :0.5);}; %畫圖 };}\end{tikzpicture}\end{document} \begin{tikzpicture}\draw(0,0)--(0:2);\draw(0,0)--(180-37:5);\draw[dashed](0,0)--(180:4);\draw(0,0)node[below]{圖(a)}rectangle(2ex,2ex)node[above left]{$B$};\tikzset{rotate=180-37,xshift=4cm} %設置起筆畫點\draw[xshift=1ex](0,0)rectangle(-2ex,-2ex)node[above]{$A$};\draw[<->](0,0)--node[left]{$H$}++(90+37:2.4);\end{tikzpicture}\hspace{3cm}\begin{tikzpicture}[scale=0.7] \tikzmath{ coordinate \a ; \a1=(30:3) ; % \a2=($(0,0)!(\a1)!(2,0)!-0.5!(\a1)$); %取0.5對稱點 } \draw[-latex](0,0)node[left]{$0$}--(5,0)node[below]{$t$}; \draw[-latex](0,-2)--(0,3)node[left]{$v$}; \node at (1.6,-2){圖(b)}; \draw(0,0)--(\a1); \draw(\a1)[dashed]--(0,\ay1)node[left]{$v_0$}; \draw(\a1)[dashed]--(\ax1,0)node[above]{$t_1$}; \draw(\a2)--(1.4*\ax1,0)node[above ]{$1.4t_1$}; \draw(\a2)[dashed]--(0,\ay2)node[left]{$\dfrac{v_0}{2}$}; \draw(\a2)[dashed]--(\ax2,0);\end{tikzpicture}
\begin{tikzpicture} \draw(0,0)--(5,0); \foreach \x in {0,1,2,...,30} \draw(\x ex,0)--++(-135:2ex); \draw(2,0)node[above={4ex} ]{$m$}rectangle(2cm+2cm,2ex); \draw(2,2ex) rectangle(2cm+2.5ex,2ex+2ex); \draw[-latex](2cm+2.5ex,2ex+2ex-1ex)--++(0:0.6)node[above right]{$v_0$}; \end{tikzpicture}\begin{tikzpicture}\draw(0,0)--(5,0);\foreach \x in {0,1,2,...,30}\draw(\x ex,0)--++(-135:2ex);\draw[dashed](1,0)--++(-90:0.8);\draw[dashed](1+1,2ex)--++(-90:0.8cm+2ex);\draw[<->](1,-0.6)--node[above]{$L$}(1+1,-0.6); \draw(1+1,2ex)--(1+1+2.8,2ex)--++(90:2ex)--++(180:2)--++(90:4ex)--++(180:0.2)--++(-135:5ex)--(1+1,2ex);\draw(2.5,1ex)circle(1ex); \draw(2.5+2,1ex)circle(1ex);\begin{scope}[xshift=3cm,yshift=4ex]\draw[dashed](0,0)rectangle(2ex,4ex);\draw[xshift=1cm](0,0)rectangle(2ex,4ex);\draw(0,4ex)--++(90:4ex);\draw[xshift=1cm](0,4ex)--++(90:4ex);\draw[<->,yshift=3ex](0,4ex)--node[above]{$l$}++(0:1);\end{scope}\end{tikzpicture} \begin{tikzpicture} \draw(0,0) \foreach \x in {0,1,2,...,30} \draw(\x ex,0) \draw(0.5,0) rectangle (4.5,4ex); \draw[-latex](4.5cm,2ex) \draw[xshift=3ex,line width=2pt] (0.5,4ex) \draw[xshift=3ex+3cm,line width=2pt] (0.5,4ex) \draw[xshift=3cm](0.5,4ex)rectangle(0.5cm+3ex,4ex+3ex); \draw[xshift=3cm](0.5cm+4pt,4ex+1.5ex) \draw[xshift=3cm](0.5cm+4pt+0.75ex,4ex+1.5ex-0.75ex) \end{tikzpicture}\begin{tikzpicture}\draw(-2.5,0)--(2.5,0);\foreach \x in {-15,-14,...,15}\draw(\x ex,0)--++(-135:2ex);\foreach \y in {-5,-4,...,5}\draw[yshift=5cm](\y ex,0)--++(-135:2ex);\draw[yshift=5cm-1.6ex](-1.2,0)--(0.8,0);\shadedraw[yshift=1.5cm](-1ex,0)rectangle(1ex,2.5cm);\draw[yshift=4cm](0,0)--(90:0.75cm);\draw[yshift=3.8cm,line width=2pt,color=gray] (0,0)node[left=2ex,black]{環}ellipse (1.5ex and 0.6ex );%畫橢圓\node [left=2ex] at (0,2.5) {棒};\draw[yshift=1.5cm,dashed](0,0)--(180:2cm);\draw[<->,xshift=-1cm,dashed](0,0)--node[left]{$H$}(0,1.5);\end{tikzpicture}