Difference between revisions of "2002 IMO Problems/Problem 2"
(→Solution) |
(→Solution) |
||
Line 7: | Line 7: | ||
:<math>\text{By construction, AEOF is a rhombus with } 60^\circ - 120^\circ \text{angles}</math> | :<math>\text{By construction, AEOF is a rhombus with } 60^\circ - 120^\circ \text{angles}</math> | ||
:<math>\text{ Consequently, we may set } s = AO = AE = AF = EO = EF</math> | :<math>\text{ Consequently, we may set } s = AO = AE = AF = EO = EF</math> | ||
− | :<math>\documentclass{article} | + | :<math> \documentclass{article} |
\usepackage[pdftex]{graphicx} | \usepackage[pdftex]{graphicx} | ||
\usepackage{asymptote} | \usepackage{asymptote} |
Revision as of 11:13, 7 October 2022
Problem
Solution
- $\documentclass{article}
\usepackage[pdftex]{graphicx} \usepackage{asymptote} \begin{document} Hello. I like to make pics with Asymptote like this one: \begin{figure}[h]
\begin{asy} import graph; size(1inch); filldraw(circle((0,0),1),yellow,black); fill(circle((-.3,.4),.1),black); fill(circle((.3,.4),.1),black); draw(arc((0,0),.5,-140,-40)); \end{asy}
\end{figure}
\par It makes me happy,
since I can still type my normal LaTeX stuff around it:
\begin{asy} import graph; size(1inch); filldraw(circle((0,0),1),yellow,black); fill(circle((-.3,.4),.1),black); fill(circle((.3,.4),.1),black); draw(arc((0,0),.5,-140,-40)); \end{asy}
\end{figure}
\par It makes me happy,
since I can still type my normal LaTeX stuff around it: