[Tex/LaTex] Drawing Quarter-Circle

circlestikz-pgf

I have drawn a square as shown below. However, I need to draw a quarter-circle inside the square such that the radius of the quarter-circle is 1 and it the center is drawn in the bottom left. Please keep code minimal, I am a beginner.

\coordinate[label=below:$A$] (A) at (0,0);
    \coordinate[label=:$B$] (B) at (0,1);
    \coordinate[label=:$C$] (C) at (1,1);
    \coordinate[label=below:$D$] (D) at (1,0);
    \draw[] (0,0)--(0,1)--(1,1)--(1,0)--(0,0);

Best Answer

You can do that with

\draw (D) arc[start angle=0, end angle=90, radius=1];

This may or may not be self-explanatory. It draws a circular arc with radius 1 starting at the point D. start angle=0 means that it is the point on the circle at an angle of zero that is placed at D.

enter image description here

\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  \coordinate[label=below:$A$] (A) at (0,0);
  \coordinate[label=:$B$] (B) at (0,1);
  \coordinate[label=:$C$] (C) at (1,1);
  \coordinate[label=below:$D$] (D) at (1,0);

  \draw (A)--(B)--(C)--(D)--cycle;

  \draw (D) arc[start angle=0, end angle=90, radius=1];
\end{tikzpicture}
\end{document}