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.

【003_モーペルテュイ】コマ大数学科

Last updated at Posted at 2021-01-12

ビリヤードでAの玉を3クッションでBに最短で入れるためにはどうすればよいか。
image.png


\begin{tikzpicture}
  % ==階段,放物線,
  % 線を引く
  \fill [color=yellow!50!white,rounded corners=5pt] (-0.5,-0.5) rectangle (6.5,3.5);
  \draw [very thick] (-0.5,-0.5) rectangle (6.5,3.5);
  \fill [color=green!70!white,very thick](0,0) rectangle (6,3);
  \fill [color=red!70!white] (1.5,2) circle (0.25cm) node (2,1)[font=\small,black]{A};
  \fill [red!20!black] ([shift={($(6,3)-(0.2,0.2)$)}]-45:0.3cm) arc [start angle=-45, end angle=135, radius=0.3cm];
  \fill [red!20!black] ([shift={($(0,3)+(0.2,-0.2)$)}]45:0.3cm) arc [start angle=45, end angle=225, radius=0.3cm];
  \fill [red!20!black] ([shift={($(0,0)+(0.2,0.2)$)}]135:0.3cm) arc [start angle=135, end angle=315, radius=0.3cm];
  \fill [red!50!yellow] ([shift={($(6,0)-(0.2,-0.2)$)}]-135:0.3cm) arc [start angle=-135, end angle=45, radius=0.3cm];
  \node at (5.9,0.1)[font=\small,black]{B};
\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?