From 31cb4a74aea5570247ca4339e0141c3f48c7471e Mon Sep 17 00:00:00 2001 From: Jan Benda Date: Tue, 17 Dec 2019 09:41:50 +0100 Subject: [PATCH] [simulations] initialized new chapter --- .gitignore | 5 +-- scientificcomputing-script.tex | 1 + simulations/lecture/Makefile | 12 +++++++ simulations/lecture/simulations-chapter.tex | 29 ++++++++++++++++ simulations/lecture/simulations.tex | 37 +++++++++++++++++++++ 5 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 simulations/lecture/Makefile create mode 100644 simulations/lecture/simulations-chapter.tex create mode 100644 simulations/lecture/simulations.tex diff --git a/.gitignore b/.gitignore index f203447..a3fc3ea 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.log *.loi *.loiboxf +*.efexercisef *.aux *.nav *.out @@ -16,10 +17,10 @@ *.mat *.pdf *.eps +*-solutions.tex .#* #*# -*.~ -*.*~ +*~ *.zip *.vrb pointprocesses/lecture/pointprocessscetch*.tex diff --git a/scientificcomputing-script.tex b/scientificcomputing-script.tex index 7c9af5d..e2d9334 100644 --- a/scientificcomputing-script.tex +++ b/scientificcomputing-script.tex @@ -61,6 +61,7 @@ % add chapter on simulations (draw random numbers, draw random functions, euler forward, odeint) % !!! this would be a nice and simple starter !!! % introduces derivatives which are also needed for fitting +%\includechapter{simulations} \includechapter{statistics} diff --git a/simulations/lecture/Makefile b/simulations/lecture/Makefile new file mode 100644 index 0000000..fad03bc --- /dev/null +++ b/simulations/lecture/Makefile @@ -0,0 +1,12 @@ +BASENAME=simulations + +all : pdf + +include ../../chapter.mk + +# script: +pdf : chapter + +clean : cleanchapter + +cleanall : cleanallchapter diff --git a/simulations/lecture/simulations-chapter.tex b/simulations/lecture/simulations-chapter.tex new file mode 100644 index 0000000..d5d2ed8 --- /dev/null +++ b/simulations/lecture/simulations-chapter.tex @@ -0,0 +1,29 @@ +\documentclass[12pt]{book} + +\input{../../header} + +\renewcommand{\exercisesolutions}{here} % 0: here, 1: chapter, 2: end + +\lstset{inputpath=../code} +\graphicspath{{figures/}} + +\typein[\pagenumber]{Number of first page} +\typein[\chapternumber]{Chapter number} +\setcounter{page}{\pagenumber} +\setcounter{chapter}{\chapternumber} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{document} + +\include{simulations} + +\section{TODO} +\begin{itemize} +\item draw (and plot) random numbers +\item draw (and plot) random functions +\item euler forward, odeint +\item introduce derivatives which are also needed for fitting (move box from there here) +\end{itemize} + +\end{document} diff --git a/simulations/lecture/simulations.tex b/simulations/lecture/simulations.tex new file mode 100644 index 0000000..e19b324 --- /dev/null +++ b/simulations/lecture/simulations.tex @@ -0,0 +1,37 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\chapter{Simulations} +\label{simulationschapter} +\exercisechapter{Simulations} + +Why simulations? + +- Understand basic concepts (as we do in the following chapters) +- Test your data analysis algorithms +- Explore +- Dynamical systems + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Univariate data} +draw (and plot) random numbers + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Static nonlinearities} +draw (and plot) random functions + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Dynamical systems} + +\begin{itemize} +\item euler forward, odeint +\item introduce derivatives which are also needed for fitting (move box from there here) +\end{itemize} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Summary} +with outook to other simulations (cellular automata, monte carlo, etc.) + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\printsolutions