summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-7-3.tex
blob: c46720bfce009fc2ed79e486bbdc737119f5db32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 68 (Section 14.7.3 :  Deuxième courbe  $b=1/3$ )

	\begin{tikzpicture}[scale=1.2]
	  \tkzInit[xmin=0,xmax=2,xstep=0.2,ymax=1,ystep=0.1]
	  \tkzAxeXY
	  \tkzGrid(0,0)(2,1)
	  \tkzFct[color   = red,domain =1/3:2]{(2*(\x-1./3)*(\x-1./3))/(\x*\x*\x)}
	  \tkzDrawTangentLine[draw,color=blue,kr=.5,kl=.5](1)
	  \tkzDefPointByFct(1)
	  \tkzText[draw,fill = brown!30](1.2,0.3)%
	             {$g(v)=2\dfrac{\left(v-\dfrac{1}{3}\right)^2}{v^3}$}
	\end{tikzpicture}

\end{document}