Блог Федора Сарафанова

Исходники иллюстрации

pre.tex

\documentclass[tikz]{standalone}\input{pre.tex}\begin{document}\begin{tikzpicture}
    \draw[interface] (-2,0) rectangle ++ (3,-0.5);
    \draw[interface, pattern color=magenta, pattern=north west lines] (1,0) rectangle ++ (6,-0.5);
    \draw[] (-2,0) -- ++(5,0);

    % \draw[interface] (3,-0.5) rectangle ++ (0.5,5);
    % \draw[] (3,0) -- ++(0,4.5);

    \draw[] (1,2) coordinate (o) circle (2) node[magenta, scale=1.5] {$\bigotimes$} node[above, yshift=0.8em] {$+z$};

    % \draw (o) pic[<-, magenta,]{carc=100:180:1cm};

    \coordinate (1) at (3,2);
    \coordinate (2) at (1,0);

    \draw[force, thick, ->] (2) -- ++ (-1.5,0) node[above] {$\vec{f}\,\,\,$};

    \draw[force, thick, ->] (o) -- ++ (0,-0.65) node[left] {$m\vec{g}$};
    \draw[force, thick, ->] (o) -- ++ (3,0) node[right] {$\vec{v}_0$};
    \draw[force, thick, ->] (2) -- ++ (0,0.65) node[left] {$\vec{N}$};


    \draw[axis,->] (2,0) -- ++ (6,0) node[right] {$+x$};
    % \draw[axis,->] (3,0) -- ++ (0,5) node[right] {$+y$};





    \draw[fill=white, draw=none] (1,2) coordinate (o) circle (2.7mm);
    \draw[] (1,2) coordinate (o) circle (2) node[magenta, scale=1.5] {$\bigotimes$};    

    \draw[] (-2,2) node[magenta, scale=1.5] {$\bigotimes$} node[right, xshift=0.5em] {$\vec{M}_f$}; 


\end{tikzpicture}\end{document}