blob: 09d5950464e4f2e69dfcacd37cf4cdf6047fb15c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
\input{preamble-standalone.ltx}
\begin{document}
% Ex. No. 8 (Section 4.6 : Les fonctions affines ou linéaires)
\begin{tikzpicture}[]
\tkzInit[ymax=20,ystep=5]
\tkzAxeXY
\tkzFct[color=red,domain=0:10,samples=2]{2*x+5}
\tkzFct[color=blue,domain=0:10,samples=2]{-x+15}
\tkzFct[color=green,domain=0:10,samples=2]{7} % 7/5=1
\tkzFct[color=purple,domain=0:10,samples=2]{7.}%7.0/5 =1.2
\end{tikzpicture}
\end{document}
|