diff --git a/Lectures_my/MC_2016/Lecture10/mchrzasz.aux b/Lectures_my/MC_2016/Lecture10/mchrzasz.aux index d23bd57..fd25708 100644 --- a/Lectures_my/MC_2016/Lecture10/mchrzasz.aux +++ b/Lectures_my/MC_2016/Lecture10/mchrzasz.aux @@ -116,13 +116,28 @@ \pgfsyspdfmark {pgfid48}{0}{0} \pgfsyspdfmark {pgfid49}{0}{0} \HyPL@Entry{14<>} -\pgfsyspdfmark {pgfid50}{23867907}{17900937} +\pgfsyspdfmark {pgfid53}{23867907}{17900937} \@writefile{nav}{\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}}} \@writefile{nav}{\headcommand {\beamer@framepages {15}{15}}} -\pgfsyspdfmark {pgfid51}{0}{0} -\pgfsyspdfmark {pgfid52}{0}{0} -\@writefile{nav}{\headcommand {\beamer@partpages {1}{15}}} -\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{15}}} -\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{15}}} -\@writefile{nav}{\headcommand {\beamer@documentpages {15}}} -\@writefile{nav}{\headcommand {\def \inserttotalframenumber {14}}} +\pgfsyspdfmark {pgfid54}{0}{0} +\pgfsyspdfmark {pgfid55}{0}{0} +\HyPL@Entry{15<>} +\pgfsyspdfmark {pgfid56}{23867907}{17900937} +\pgfsyspdfmark {pgfid57}{0}{0} +\pgfsyspdfmark {pgfid58}{0}{0} +\pgfsyspdfmark {pgfid59}{23867907}{17900937} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{16}{16/17}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {16}{17}}} +\pgfsyspdfmark {pgfid60}{0}{0} +\pgfsyspdfmark {pgfid61}{0}{0} +\HyPL@Entry{17<>} +\pgfsyspdfmark {pgfid62}{23867907}{17900937} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{17}{18/18}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {18}{18}}} +\pgfsyspdfmark {pgfid63}{0}{0} +\pgfsyspdfmark {pgfid64}{0}{0} +\@writefile{nav}{\headcommand {\beamer@partpages {1}{18}}} +\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{18}}} +\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{18}}} +\@writefile{nav}{\headcommand {\beamer@documentpages {18}}} +\@writefile{nav}{\headcommand {\def \inserttotalframenumber {16}}} diff --git a/Lectures_my/MC_2016/Lecture10/mchrzasz.log b/Lectures_my/MC_2016/Lecture10/mchrzasz.log index a17a6e5..b8f23a5 100644 --- a/Lectures_my/MC_2016/Lecture10/mchrzasz.log +++ b/Lectures_my/MC_2016/Lecture10/mchrzasz.log @@ -1,4 +1,4 @@ -This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) (format=xelatex 2015.4.1) 8 MAY 2016 22:52 +This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) (format=xelatex 2015.4.1) 9 MAY 2016 01:19 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -3043,12 +3043,12 @@ [13 ] -Overfull \hbox (16.57283pt too wide) in paragraph at lines 613--613 +Overfull \hbox (16.57283pt too wide) in paragraph at lines 611--611 [] [] -Overfull \hbox (16.57283pt too wide) in paragraph at lines 613--613 +Overfull \hbox (16.57283pt too wide) in paragraph at lines 611--611 []$[]$ [] @@ -3073,7 +3073,6 @@ [14 ] -\c@framenumberappendix=\count453 File: images/BG_lower.png Graphic file (type QTm) Overfull \vbox (19.18185pt too high) has occurred while \output is active [] @@ -3095,6 +3094,70 @@ [15 ] +File: images/BG_lower.png Graphic file (type QTm) + +Overfull \vbox (19.18185pt too high) has occurred while \output is active [] + +................................................. +. fontspec info: "no-scripts" +. +. Font Trebuchet MS does not contain any OpenType `Script' information. +................................................. +................................................. +. fontspec info: "defining-font" +. +. Font family 'TrebuchetMS(0)' created for font 'Trebuchet MS' with options +. [Mapping=tex-text,]. +. +. This font family consists of the following shapes: +................................................. + +[16 + +] +File: images/BG_lower.png Graphic file (type QTm) + +Overfull \vbox (19.18185pt too high) has occurred while \output is active [] + +................................................. +. fontspec info: "no-scripts" +. +. Font Trebuchet MS does not contain any OpenType `Script' information. +................................................. +................................................. +. fontspec info: "defining-font" +. +. Font family 'TrebuchetMS(0)' created for font 'Trebuchet MS' with options +. [Mapping=tex-text,]. +. +. This font family consists of the following shapes: +................................................. + +[17 + +] +\c@framenumberappendix=\count453 +File: images/BG_lower.png Graphic file (type QTm) + +Overfull \vbox (19.18185pt too high) has occurred while \output is active [] + +................................................. +. fontspec info: "no-scripts" +. +. Font Trebuchet MS does not contain any OpenType `Script' information. +................................................. +................................................. +. fontspec info: "defining-font" +. +. Font family 'TrebuchetMS(0)' created for font 'Trebuchet MS' with options +. [Mapping=tex-text,]. +. +. This font family consists of the following shapes: +................................................. + +[18 + +] \tf@nav=\write11 \openout11 = `mchrzasz.nav'. @@ -3104,23 +3167,23 @@ \tf@snm=\write13 \openout13 = `mchrzasz.snm'. -Package atveryend Info: Empty hook `BeforeClearDocument' on input line 626. -Package atveryend Info: Empty hook `AfterLastShipout' on input line 626. +Package atveryend Info: Empty hook `BeforeClearDocument' on input line 691. +Package atveryend Info: Empty hook `AfterLastShipout' on input line 691. (./mchrzasz.aux) -Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 626. -Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 626. +Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 691. +Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 691. Package logreq Info: Writing requests to 'mchrzasz.run.xml'. \openout1 = `mchrzasz.run.xml'. -Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 626. +Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 691. ) Here is how much of TeX's memory you used: - 50396 strings out of 493918 - 988624 string characters out of 6150564 - 1348134 words of memory out of 5000000 - 52659 multiletter control sequences out of 15000+600000 + 50410 strings out of 493918 + 988923 string characters out of 6150564 + 1348133 words of memory out of 5000000 + 52673 multiletter control sequences out of 15000+600000 37200 words of font info for 150 fonts, out of 8000000 for 9000 1144 hyphenation exceptions out of 8191 - 55i,23n,77p,10405b,1462s stack positions out of 5000i,500n,10000p,200000b,80000s + 55i,23n,77p,10405b,1471s stack positions out of 5000i,500n,10000p,200000b,80000s -Output written on mchrzasz.pdf (15 pages). +Output written on mchrzasz.pdf (18 pages). diff --git a/Lectures_my/MC_2016/Lecture10/mchrzasz.nav b/Lectures_my/MC_2016/Lecture10/mchrzasz.nav index e57e01d..1ee06ef 100644 --- a/Lectures_my/MC_2016/Lecture10/mchrzasz.nav +++ b/Lectures_my/MC_2016/Lecture10/mchrzasz.nav @@ -30,8 +30,12 @@ \headcommand {\beamer@framepages {14}{14}} \headcommand {\slideentry {0}{0}{15}{15/15}{}{0}} \headcommand {\beamer@framepages {15}{15}} -\headcommand {\beamer@partpages {1}{15}} -\headcommand {\beamer@subsectionpages {1}{15}} -\headcommand {\beamer@sectionpages {1}{15}} -\headcommand {\beamer@documentpages {15}} -\headcommand {\def \inserttotalframenumber {14}} +\headcommand {\slideentry {0}{0}{16}{16/17}{}{0}} +\headcommand {\beamer@framepages {16}{17}} +\headcommand {\slideentry {0}{0}{17}{18/18}{}{0}} +\headcommand {\beamer@framepages {18}{18}} +\headcommand {\beamer@partpages {1}{18}} +\headcommand {\beamer@subsectionpages {1}{18}} +\headcommand {\beamer@sectionpages {1}{18}} +\headcommand {\beamer@documentpages {18}} +\headcommand {\def \inserttotalframenumber {16}} diff --git a/Lectures_my/MC_2016/Lecture10/mchrzasz.pdf b/Lectures_my/MC_2016/Lecture10/mchrzasz.pdf index 83d7f66..264a34a 100644 --- a/Lectures_my/MC_2016/Lecture10/mchrzasz.pdf +++ b/Lectures_my/MC_2016/Lecture10/mchrzasz.pdf Binary files differ diff --git a/Lectures_my/MC_2016/Lecture10/mchrzasz.synctex.gz b/Lectures_my/MC_2016/Lecture10/mchrzasz.synctex.gz index 441dd4b..e06aca3 100644 --- a/Lectures_my/MC_2016/Lecture10/mchrzasz.synctex.gz +++ b/Lectures_my/MC_2016/Lecture10/mchrzasz.synctex.gz Binary files differ diff --git a/Lectures_my/MC_2016/Lecture10/mchrzasz.tex b/Lectures_my/MC_2016/Lecture10/mchrzasz.tex index 6b1601c..80e5114 100644 --- a/Lectures_my/MC_2016/Lecture10/mchrzasz.tex +++ b/Lectures_my/MC_2016/Lecture10/mchrzasz.tex @@ -604,6 +604,35 @@ +\end{footnotesize} + +\end{minipage} + +\end{frame} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}\frametitle{Other boundary conditions} +\begin{minipage}{\textwidth} +\begin{footnotesize} +\ARROW In 2-dim: +\begin{align*} +\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} =0 ,~~~(x,y) \in D \subset \mathbb{R}^2 +\end{align*} +with the boundary condition: +\begin{align*} +f(x,y)\frac{\partial u(x,y)}{\partial n} + g(x,y)u(x,y)=h(x,y),~~~(x,y)\in \Gamma(D) +\end{align*} +\ARROW And the discrete differential equation: +\begin{align*} +u(x,y)=\frac{1}{4}\left[ u(x-h,y)+u(x+h,y)+u(x,y-h)+u(x,y+h)\right] +\end{align*} +\begin{exampleblock}{Reminder:} +If at moment $t$ the point is in $(x,y)$ then in the $t+1$ time the particle moves with equal probability to one of the following points: $(x-h,y)$, $(x+h,y)$, $(x,y-h)$, $(x,y+h)$. + + +\end{exampleblock} \end{footnotesize} @@ -614,6 +643,42 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}\frametitle{Random walk for boundary points} +\begin{minipage}{\textwidth} +\begin{footnotesize} +\ARROW The boundary point $Q$ has only one internal neighbour point $P$.\\ +\begin{itemize} +\item If the normal is parallel to the grid axis in the point $Q$: +\begin{align*} +f(Q)\frac{u(P)-u(Q)}{h} + g(Q)u(Q)=h(Q) +\end{align*} +\item Solving the above to get $u(Q)$ we get: +\begin{align*} +u(Q)= \frac{f(Q)u(P)}{f(Q)-hg(Q)} - \frac{h(Q)}{f(Q)-hg(Q)} +\end{align*} +\item To help we assign a temporary values: +\begin{align*} +\phi(Q)=\frac{f(Q)}{p\left[ f(Q)-hg(Q)\right] },~~~\psi(Q)=-h\frac{h(Q)}{(1-p)\left[ f(Q)-hg(Q) \right]} +\end{align*} +\end{itemize} +\ARROW So: +\begin{align*} +u(Q)=p\phi(Q)u(P)+(1-p)\psi(Q) +\end{align*} +\pause +\ARROW Interpretation: +$u(Q)$ can be seen that with probability $p$ it is equal $\phi(Q)u(P)$ and with provability $(1-p)$ is equal to $\psi(Q)$. + + + +\end{footnotesize} + +\end{minipage} + +\end{frame} + + \backupbegin \begin{frame}\frametitle{Backup}