blob: ae9576110a620dcb9c02d3fce9132c4e7673fe14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
\input{preamble-standalone.ltx}
\begin{document}
% Ex. No. 20 (Section 7.4 : Tangente et l'option \tkzname{with})
\begin{tikzpicture}[scale=4]
\tkzInit[xmax=3,ymax=2]
\tkzAxeXY
\tkzGrid(0,0)(3,2)
\tkzFct[color = red, domain = 1/3:3]{0.125*(3*x-1)+0.375*(3*x-1)/(x*x)}
\tkzFct[color = blue, domain = 1/3:3]{0.125*(3*x-1)}
\tkzDrawTangentLine[with=a,
color=blue](1)
\tkzText[draw,
color= red,
fill=brown!50](1,1.5)%
{$f(x)=\frac{1}{8}(3x-1)+\frac{3}{8}\left(\frac{3x-1}{x^2}\right)$}
\tkzText[draw,
color= green!50!black,
fill=brown!50](2,0.3)%
{$g(x)=\frac{1}{8}(3x-1)$}
\end{tikzpicture}
\end{document}
|