summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-6-1.tex
blob: 73f217354f63b486ec694a090799aef4e09202c6 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 65 (Section 14.6.1 : Le code)

\begin{tikzpicture}
\tkzInit[xmin=-1,xmax=1,ymin=-1.8,ymax=1.2,xstep=0.1,ystep=0.2]
\tkzGrid
\tkzAxeXY
\tkzFct[samples = 400, line width=4pt, color = red,opacity=.5](-1---1){1/(1+8*\x*\x)}
 \tkzFct[smooth,samples = 400, line width=1pt, color = blue,domain =-1:1]%
{1.0+((((((((((((((((((((
                          8140.04642)*\x
                            +0.01544)*\x
                        -32356.67279)*\x
                            -0.05562)*\x
                        +54061.87086)*\x
                            +0.08097)*\x
                        -49850.83249)*\x
                            -0.05934)*\x
                        +28118.29594)*\x
                            +0.02540)*\x
                        -10240.01777)*\x
                            -0.00580)*\x
                         +2516.04640)*\x
                            +0.00071)*\x
                          -444.23476)*\x
                            -0.00004)*\x
                           +62.60245)*\x
                            +0.00000)*\x
                            -7.99142)*\x
                            -0.00000)*\x}
 \tkzSetUpPoint[size=16,color=black,fill=yellow]
 \foreach \v in {-1,-0.8,---.,1}{\tkzDefPointByFct[draw](\v)}
\end{tikzpicture}

\end{document}