diff --git a/zajęcia 5/Book1.dat b/zajęcia 5/Book1.dat new file mode 100644 index 0000000..a5d85c5 --- /dev/null +++ b/zajęcia 5/Book1.dat @@ -0,0 +1,201 @@ +-100 -100 98000001 +-99 -99 94119004 +-98 -98 90354433 +-97 -97 86703936 +-96 -96 83165185 +-95 -95 79735876 +-94 -94 76413729 +-93 -93 73196488 +-92 -92 70081921 +-91 -91 67067820 +-90 -90 64152001 +-89 -89 61332304 +-88 -88 58606593 +-87 -87 55972756 +-86 -86 53428705 +-85 -85 50972376 +-84 -84 48601729 +-83 -83 46314748 +-82 -82 44109441 +-81 -81 41983840 +-80 -80 39936001 +-79 -79 37964004 +-78 -78 36065953 +-77 -77 34239976 +-76 -76 32484225 +-75 -75 30796876 +-74 -74 29176129 +-73 -73 27620208 +-72 -72 26127361 +-71 -71 24695860 +-70 -70 23324001 +-69 -69 22010104 +-68 -68 20752513 +-67 -67 19549596 +-66 -66 18399745 +-65 -65 17301376 +-64 -64 16252929 +-63 -63 15252868 +-62 -62 14299681 +-61 -61 13391880 +-60 -60 12528001 +-59 -59 11706604 +-58 -58 10926273 +-57 -57 10185616 +-56 -56 9483265 +-55 -55 8817876 +-54 -54 8188129 +-53 -53 7592728 +-52 -52 7030401 +-51 -51 6499900 +-50 -50 6000001 +-49 -49 5529504 +-48 -48 5087233 +-47 -47 4672036 +-46 -46 4282785 +-45 -45 3918376 +-44 -44 3577729 +-43 -43 3259788 +-42 -42 2963521 +-41 -41 2687920 +-40 -40 2432001 +-39 -39 2194804 +-38 -38 1975393 +-37 -37 1772856 +-36 -36 1586305 +-35 -35 1414876 +-34 -34 1257729 +-33 -33 1114048 +-32 -32 983041 +-31 -31 863940 +-30 -30 756001 +-29 -29 658504 +-28 -28 570753 +-27 -27 492076 +-26 -26 421825 +-25 -25 359376 +-24 -24 304129 +-23 -23 255508 +-22 -22 212961 +-21 -21 175960 +-20 -20 144001 +-19 -19 116604 +-18 -18 93313 +-17 -17 73696 +-16 -16 57345 +-15 -15 43876 +-14 -14 32929 +-13 -13 24168 +-12 -12 17281 +-11 -11 11980 +-10 -10 8001 +-9 -9 5104 +-8 -8 3073 +-7 -7 1716 +-6 -6 865 +-5 -5 376 +-4 -4 129 +-3 -3 28 +-2 -2 1 +-1 -1 0 +0 0 1 +1 1 4 +2 2 33 +3 3 136 +4 4 385 +5 5 876 +6 6 1729 +7 7 3088 +8 8 5121 +9 9 8020 +10 10 12001 +11 11 17304 +12 12 24193 +13 13 32956 +14 14 43905 +15 15 57376 +16 16 73729 +17 17 93348 +18 18 116641 +19 19 144040 +20 20 176001 +21 21 213004 +22 22 255553 +23 23 304176 +24 24 359425 +25 25 421876 +26 26 492129 +27 27 570808 +28 28 658561 +29 29 756060 +30 30 864001 +31 31 983104 +32 32 1114113 +33 33 1257796 +34 34 1414945 +35 35 1586376 +36 36 1772929 +37 37 1975468 +38 38 2194881 +39 39 2432080 +40 40 2688001 +41 41 2963604 +42 42 3259873 +43 43 3577816 +44 44 3918465 +45 45 4282876 +46 46 4672129 +47 47 5087328 +48 48 5529601 +49 49 6000100 +50 50 6500001 +51 51 7030504 +52 52 7592833 +53 53 8188236 +54 54 8817985 +55 55 9483376 +56 56 10185729 +57 57 10926388 +58 58 11706721 +59 59 12528120 +60 60 13392001 +61 61 14299804 +62 62 15252993 +63 63 16253056 +64 64 17301505 +65 65 18399876 +66 66 19549729 +67 67 20752648 +68 68 22010241 +69 69 23324140 +70 70 24696001 +71 71 26127504 +72 72 27620353 +73 73 29176276 +74 74 30797025 +75 75 32484376 +76 76 34240129 +77 77 36066108 +78 78 37964161 +79 79 39936160 +80 80 41984001 +81 81 44109604 +82 82 46314913 +83 83 48601896 +84 84 50972545 +85 85 53428876 +86 86 55972929 +87 87 58606768 +88 88 61332481 +89 89 64152180 +90 90 67068001 +91 91 70082104 +92 92 73196673 +93 93 76413916 +94 94 79736065 +95 95 83165376 +96 96 86704129 +97 97 90354628 +98 98 94119201 +99 99 98000200 +100 100 102000001 diff --git a/zajęcia 5/funkcje.pdf b/zajęcia 5/funkcje.pdf new file mode 100644 index 0000000..cecfd32 Binary files /dev/null and b/zajęcia 5/funkcje.pdf differ diff --git a/zajęcia 5/funkcje.tex b/zajęcia 5/funkcje.tex new file mode 100644 index 0000000..16bb989 --- /dev/null +++ b/zajęcia 5/funkcje.tex @@ -0,0 +1,96 @@ +\documentclass[11pt]{beamer} +\usepackage{ucs} +\usetheme{Warsaw} +\usepackage[utf8]{inputenc} +\usepackage{polski} +\usepackage{amsmath} +\usepackage{amsfonts} +\usepackage{amssymb} +\usepackage{graphicx} +\usepackage{tikz} +\usepackage{mathtools} +\usepackage{amsmath} +\usepackage{amsthm} +\usepackage{tikz} +\usepackage{pgfplots} + +\newtheorem{tw}{Twierdzenie} +%\theoremstyle{definition} +%\newtheorem{definition}{Definicja} + +\author{Izabela Kosmala} +\title{Wykresy funkcji} +%\subtitle{} +\institute{Uniwersytet im. Adama Mickiewicza} +\date{09.11.2017 r.} + +\begin{document} + +\begin{frame} +\titlepage +\end{frame} + +\begin{frame}{\(x\mapsto x^2-2x+3\)} + +\begin{tikzpicture} +\begin{axis}[ +axis x line=center , +axis y line=center , +xtick ={-10,-9,...,10}, +ytick ={1,2,...,10}, +xlabel ={$x$}, +ylabel ={$y$}, +xlabel style ={ below right}, +ylabel style ={ right}, +xmin=-10.5, +xmax =10.5, +ymin=-0.5, +ymax =10.5, +title={Wykres funkcji \(x\mapsto x^2-2x+3\)} +] +\addplot[color=black ,line width =0.5pt ,smooth,domain=-10:10] plot(\x,\x^2-2*\x+3); +\end{axis} + +\end{tikzpicture} + +\end{frame} + + +\begin{frame}{\( x\mapsto \cos 2x\)} +\begin{tikzpicture} + +\draw[domain =0:2*pi,smooth] plot(\x,{cos(2*\x r)}); + +\end{tikzpicture} +\end{frame} + +\begin{frame}{\( x\mapsto\sin \tfrac{1}{x}\)} +\begin{tikzpicture} +\begin{axis}[] +\addplot[smooth] gnuplot[raw gnuplot ]{ +plot[-10:10] sin(1/x) +}; +\end{axis} +\end{tikzpicture} +\end{frame} + +\begin{frame}{\( (x,y)\mapsto x^2+y^2\)} +\begin{tikzpicture} +\begin{axis}[colorbar] +\addplot3[surf,domain=-360:360,samples=50]{x^2+y^2}; +\end{axis} +\end{tikzpicture} +\end{frame} + +\begin{frame}{\((x,y)\mapsto x^2−y^2 + 2 x y ^2+1\)} +\begin{tikzpicture} +\begin{axis}[colorbar] +\addplot3[surf] +table[] {"Book1.dat"}; +\end{axis} +\end{tikzpicture} + + +\end{frame} + +\end{document} \ No newline at end of file