Advertisement
Guest User

point d'inflexion tikz

a guest
Sep 17th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.82 KB | None | 0 0
  1. %point d'inflexion
  2. \begin{center}
  3. \begin{tikzpicture}[x=1cm, y=.75cm]
  4.  
  5. \pgfmathsetmacro{\xmin}{-2}
  6. \pgfmathsetmacro{\ymin}{-2}
  7. \pgfmathsetmacro{\xmax}{6}
  8. \pgfmathsetmacro{\ymax}{5}
  9.  
  10. %Axes
  11. \draw[>={angle 60},thick,->,color=black] (\xmin,0) -- (\xmax,0) node[above] {$x$} node[below] {$\mathbb{R}$};
  12. \draw[>={angle 60},thick,->,color=black] (0,\ymin) -- (0,\ymax) node[right] {$y$} node[left] {$\mathbb{R}$};
  13.  
  14. \clip (-2,-2) rectangle (6,5);
  15. \draw[thick,shift={(2,0)},color=red] (0,0.05) -- (0,-0.05) node[below] {$\vphantom{(t)}a$};
  16. \draw[color=black,smooth,samples=100,domain=-1:4.9,thick] plot (\x,{.25*pow(\x,3)-1.5*pow(\x,2)+(2)*(\x)+(2)}) node[below right] {$\mathscr{C}_f$};
  17. \draw[color=red,thick]  (-1,5) -- node[pos=.95,left] {$T_a$} (5,-1);
  18.  
  19. \draw[fill,color=red] (2,2) circle (1pt);
  20. \end{tikzpicture}
  21. \end{center}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement