aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/40-eigenwerte/images/wurzelapprox.tex
blob: 676c7e94825e8eb648490986292d4c0b841a4ae7 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
%
% wurzelapprox.tex -- template for standalon tikz images
%
% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
%
\documentclass[tikz]{standalone}
\usepackage{amsmath}
\usepackage{times}
\usepackage{txfonts}
\usepackage{pgfplots}
\usepackage{csvsimple}
\usetikzlibrary{arrows,intersections,math}
\begin{document}
\def\skala{5.7}
\begin{tikzpicture}[>=latex,thick,scale=\skala]

\definecolor{darkgreen}{rgb}{0,0.6,0}

\input{wa.tex}

\begin{scope}[xshift=-0.63cm]

\draw[->] (-0.01,0) -- (1.05,0) coordinate[label={$t$}];

\begin{scope}
	\clip (0,0) rectangle (1,1.01);
	\draw[color=blue,line width=1.6pt] \pfada;
	\draw[color=blue,line width=1.2pt] \pfadb;
	\draw[color=blue,line width=1.2pt] \pfadc;
	\draw[color=blue,line width=1.2pt] \pfadd;
	\draw[color=blue,line width=1.2pt] \pfade;
	\draw[color=blue,line width=1.2pt] \pfadf;
	\draw[color=blue,line width=1.2pt] \pfadg;
	\draw[color=blue,line width=1.2pt] \pfadh;
	\draw[color=blue,line width=1.2pt] \pfadi;
	\draw[color=blue,line width=1.2pt] \pfadj;

	\draw[color=red,line width=1.6pt]
		plot[domain=0:1.01,samples=100] ({\x*\x},{\x});
\end{scope}

\node[color=red] at (0.5,0.707) [above,rotate={atan(0.5)}] {$\sqrt{t}$};

\draw[->] (0,-0.01) -- (0,1.05) coordinate[label={right:$u_n(t)$}];

\foreach \x in {2,4,...,8}{
	\draw ({0.1*\x},-0.01) -- ({0.1*\x},0.01);
	\node at ({0.1*\x},-0.01) [below] {0.\x\strut};
	\draw (-0.01,{0.1*\x}) -- (0.01,{0.1*\x});
	\node at (-0.01,{0.1*\x}) [left] {0.\x\strut};
}
\draw (1,-0.01) -- (1,0.01);
\node at (1,-0.01) [below] {1.0\strut};
\node at (0,-0.01) [below] {0\strut};

\draw (-0.01,1) -- (0.01,1);
\node at (-0.01,1) [left] {1.0\strut};

\node[color=blue] at (1.01,0) [above left] {$u_0(t)$};
\node[color=blue] at (1,0.51) [below left,rotate={atan(0.5)}] {$u_1(t)$};
\node[color=blue] at (1,{0.86+0.03}) [below left,rotate={atan(0.86)}] {$u_2(t)$};
\node[color=blue] at (1,1.00) [below left,rotate={atan(0.5)}] {$u_3(t)$};

\end{scope}

\begin{scope}[xshift=0.63cm]

\begin{scope}
	\clip (0,0) rectangle (1,1.01);
	\draw[color=darkgreen,line width=1.2pt] \fehlera;
	\draw[color=darkgreen,line width=1.2pt] \fehlerb;
	\draw[color=darkgreen,line width=1.2pt] \fehlerc;
	\draw[color=darkgreen,line width=1.2pt] \fehlerd;
	\draw[color=darkgreen,line width=1.2pt] \fehlere;
	\draw[color=darkgreen,line width=1.2pt] \fehlerf;
	\draw[color=darkgreen,line width=1.2pt] \fehlerg;
	\draw[color=darkgreen,line width=1.2pt] \fehlerh;
	\draw[color=darkgreen,line width=1.2pt] \fehleri;
	\draw[color=darkgreen,line width=1.2pt] \fehlerj;
\end{scope}

\draw[->] (0,-0.01) -- (0,1.05) coordinate[label={right:${\color{red}\sqrt{t}}-{\color{blue}u_n(t)}$}];
\draw[->] (-0.01,0) -- (1.05,0) coordinate[label={$t$}];

\foreach \x in {2,4,...,9}{
	\draw ({0.1*\x},-0.01) -- ({0.1*\x},0.01);
	\node at ({0.1*\x},-0.01) [below] {0.\x\strut};
	\draw (-0.01,{0.1*\x}) -- (0.01,{0.1*\x});
	\node at (-0.01,{0.1*\x}) [left] {0.\x\strut};
}
\draw (1,-0.01) -- (1,0.01);
\node at (1,-0.01) [below] {1.0\strut};
\node at (0,-0.01) [below] {0\strut};

\draw (-0.01,1) -- (0.01,1);
\node at (-0.01,1) [left] {1.0\strut};

\node[color=darkgreen] at (1,1) [below left,rotate={atan(0.5)}] {$n=0$};
\node[color=darkgreen] at (1,0.5) [above left] {$n=1$};
\node[color=darkgreen] at (1,0.13) [above left,rotate=-13] {$n=2$};
\node[color=darkgreen] at (1,0.00) [above left,rotate=-9] {$n=3$};

\end{scope}

\end{tikzpicture}
\end{document}