2017-11-11 23:11:02 +01:00
|
|
|
\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}
|
2017-11-17 12:18:40 +01:00
|
|
|
\pgfplotsset{compat=1.5}
|
2017-11-11 23:11:02 +01:00
|
|
|
|
|
|
|
\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}[]
|
2017-11-17 12:18:40 +01:00
|
|
|
\addplot[smooth] gnuplot[raw gnuplot]{
|
2017-11-11 23:11:02 +01:00
|
|
|
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}
|
|
|
|
|
2017-11-17 12:18:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
\begin{frame}{\((x,y)\mapsto x^2-y^2 + 2 x y ^2+1\)}
|
2017-11-11 23:11:02 +01:00
|
|
|
\begin{tikzpicture}
|
|
|
|
\begin{axis}[colorbar]
|
2017-11-17 12:18:40 +01:00
|
|
|
\addplot3[surf,domain=-360:360,samples=50]{x^2-y^2+2*x*y^2+1};
|
2017-11-11 23:11:02 +01:00
|
|
|
\end{axis}
|
|
|
|
\end{tikzpicture}
|
2017-11-17 12:18:40 +01:00
|
|
|
\end{frame}
|
2017-11-11 23:11:02 +01:00
|
|
|
|
2017-11-17 12:18:40 +01:00
|
|
|
\begin{frame}{\((x,y)\mapsto x^2-1\)}
|
|
|
|
\begin{tikzpicture}
|
|
|
|
\begin{axis}[]
|
|
|
|
\addplot[] table[] {Book1.dat};
|
|
|
|
\end{axis}
|
|
|
|
\end{tikzpicture}
|
2017-11-11 23:11:02 +01:00
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\end{document}
|