0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【015_ビュフォンの針】コマ大数学科

Posted at

#【015_ビュフォンの針】コマ大数学科

image.png

\begin{tikzpicture}
\fill [orange!90!black] (-0.2,-0.2) rectangle (4.2,4.2);
% 縦の線
  \foreach \x in {0,2,4}
  {\draw [very thick](\x,-0.2) -- (\x,4.2);
  \draw (\x,-0.2) -- (\x,-1.2);
  }
% 距離をとる
  \draw [<->](0,-0.5)--(2,-0.5);
  \draw [<->](2,-0.5)--(4,-0.5);
  \node at (1,-0.8) {10cm};
  \node at (3,-0.8) {10cm};
  
% 横の線
  \foreach \x in {0,2,4}
  {\draw (-0.2,\x) -- (4.2,\x);
  \draw (4.2,\x)--(5,\x);
  }
% 距離をとる
  \draw [<->](4.5,0)--(4.5,2);
  \draw [<->](4.5,2)--(4.5,4);
  \node at (5,1) {10cm};
  \node at (5,3) {10cm};
  
% コイン
  \filldraw [fill=yellow!20!white] (1.3,1) circle (0.3) node [font=\tiny]{コイン};
  \draw (1,0.3)--(1,1);
  \draw (1.6,0.3)--(1.6,1);
  \draw [<->](1,0.5)--(1.6,0.5);
  \node at (1.3,0.5)[below,font=\tiny]{3cm};
\end{tikzpicture}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?