1234567891011121314151617181920212223242526272829303132333435 |
- \documentclass{article}
- \usepackage{gensymb}
- \usepackage[pdftex,active,tightpage]{preview}
- \setlength\PreviewBorder{2mm}
- \usepackage{tikz}
- \usetikzlibrary{arrows,positioning, calc}
- \tikzset{
- %Define standard arrow tip
- >=stealth',
- % Define arrow style
- pil/.style={
- ->,
- thick}
- }
- \begin{document}
- \begin{preview}
- \begin{tikzpicture}
- \draw[fill=green!30, dotted] (0,0) -- (90:1.00cm) arc (90:25:1.00cm);
- \draw[fill=green!30, dotted] (6.8,3) -- (6.8,2) arc (-90:-155:1.00cm);
- \draw(6.5,2.5) node {$\scriptstyle \varphi$};
- \draw(50:0.6cm) node {$\scriptscriptstyle \varphi = 63 \degree$};
- \coordinate[label=left:$\vec F$] (F) at (0cm, 3cm);
- \coordinate[label=120:$A$,color=red] (A) at (0cm, 0cm);
- \coordinate[label=right:$B$,color=red] (B) at (6.8cm, 3cm);
- \draw[->, very thick, color=red] (A) to[] node[above, rotate=27] {$\vec s$} (B);
- \draw[pil] (0,0) -- node[near end, right] {$F = 5 \mathrm{N}$} (0, 3cm);
- \draw[color=gray, dashed] (0cm,0) -- node {} (6.8cm, 0cm);
- \draw[color=gray, dashed] (6.8cm,0) -- node {} (6.8cm, 3cm);
- \node (s) at ($(A)!0.5!(B)$) [below,rotate=25] {$s = 3\mathrm{m}$};
- \node (txt) at ($(6.8,0)!0.4!(B)$) [below,rotate=90] {$\scriptscriptstyle h = s \cdot \cos(\varphi)$};
- \end{tikzpicture}
- \end{preview}
- \end{document}
|