Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. documentclass[12pt, a4paper, oneside]{article}
  2. usepackage{indentfirst}
  3. usepackage[margin = 2.5cm]{geometry}
  4. usepackage{tkz-euclide}
  5. usepackage{amsmath}
  6. usepackage{amssymb}
  7. usetkzobj{all}
  8.  
  9. begin{document}
  10.  
  11. ...some text here...
  12.  
  13. begin{align*}
  14. sec{varphi}=frac{|OS|}{|OR|}=frac{|OS|}{1}=|OS|
  15. & & cot{varphi}=frac{|OU|}{|OT|}=frac{|OU|}{1}=|OU|
  16. end{align*}
  17.  
  18. {centering
  19.  
  20. begin{tikzpicture}[scale=4]
  21.  
  22. defcosthirty{0.8660256}
  23. defsecthirty{1.1547}
  24. defsinfifteen{-0.258819}
  25. defcosfifteen{0.9659258}
  26.  
  27. draw[color=gray,dotted,step=1cm] (-0.25,-0.25) grid (2.25,1.25);
  28.  
  29. draw (cosfifteen,sinfifteen) arc (-15:105:1cm);
  30.  
  31. draw[color=gray,dotted] (0,0) -- (30:2.5cm);
  32. draw[color=gray,dotted] (30:1cm) -- +(-90:0.75cm);
  33. draw[color=gray,dotted] (30:1cm) -- +(90:0.75cm);
  34.  
  35. coordinate (O) at (0, 0);
  36. coordinate (P) at (costhirty, 0);
  37. coordinate (Q) at (30:1cm);
  38. coordinate (R) at (1, 0);
  39. coordinate (S) at (30:secthirty);
  40. coordinate (T) at (0, 1);
  41. coordinate (U) at (30:2);
  42.  
  43. draw[thick] (O)--(90:1.25);
  44. draw[thick] (O)--(0:2.25);
  45.  
  46. draw[thick] (Q)--(P);
  47. draw[thick] (O)--(U)--(T);
  48. draw[thick] (R)--(S);
  49.  
  50. tkzLabelPoints[below left](O)
  51. tkzLabelPoints[below left](P)
  52. tkzLabelPoints[left = 5pt of Q](Q)
  53. tkzLabelPoints[below right](R)
  54. tkzLabelPoints[below right](S)
  55. tkzLabelPoints[above left](T)
  56. tkzLabelPoints[above](U)
  57.  
  58. tkzMarkAngle[fill = gray, size=0.3cm, opacity = .3](P,O,Q)
  59. tkzLabelAngle[pos = 0.2](P,O,Q){$varphi$}
  60.  
  61. tkzMarkAngle[fill = gray, size=0.3cm, opacity = .3](T,U,O)
  62. tkzLabelAngle[pos = -0.2](O,U,T){$varphi$}
  63.  
  64. end{tikzpicture}
  65.  
  66. textit{scriptsize{Figure 2}}
  67.  
  68. }
  69.  
  70. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement