day1/session3.tex
author Puneeth Chaganti <punchagan@fossee.in>
Wed, 14 Oct 2009 12:52:42 +0530
changeset 115 66709e58f765
child 116 cb91f43d2cbb
permissions -rw-r--r--
Added session3.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
115
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     2
% Tutorial slides on Python.
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     3
%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     4
% Author: Prabhu Ramachandran <prabhu at aero.iitb.ac.in>
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     5
% Copyright (c) 2005-2009, Prabhu Ramachandran
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     7
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     8
\documentclass[14pt,compress]{beamer}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     9
%\documentclass[draft]{beamer}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    10
%\documentclass[compress,handout]{beamer}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    11
%\usepackage{pgfpages} 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    12
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    13
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    14
% Modified from: generic-ornate-15min-45min.de.tex
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    15
\mode<presentation>
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    16
{
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    17
  \usetheme{Warsaw}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    18
  \useoutertheme{split}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    19
  \setbeamercovered{transparent}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    20
}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    21
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    22
\usepackage[english]{babel}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    23
\usepackage[latin1]{inputenc}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    24
%\usepackage{times}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    25
\usepackage[T1]{fontenc}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    26
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    27
% Taken from Fernando's slides.
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    28
\usepackage{ae,aecompl}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    29
\usepackage{mathpazo,courier,euler}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    30
\usepackage[scaled=.95]{helvet}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    31
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    32
\definecolor{darkgreen}{rgb}{0,0.5,0}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    33
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    34
\usepackage{listings}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    35
\lstset{language=Python,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    36
    basicstyle=\ttfamily\bfseries,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    37
    commentstyle=\color{red}\itshape,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    38
  stringstyle=\color{darkgreen},
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    39
  showstringspaces=false,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    40
  keywordstyle=\color{blue}\bfseries}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    41
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    42
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    43
% Macros
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    44
\setbeamercolor{emphbar}{bg=blue!20, fg=black}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    45
\newcommand{\emphbar}[1]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    46
{\begin{beamercolorbox}[rounded=true]{emphbar} 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    47
      {#1}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    48
 \end{beamercolorbox}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    49
}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    50
\newcounter{time}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    51
\setcounter{time}{0}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    52
\newcommand{\inctime}[1]{\addtocounter{time}{#1}{\tiny \thetime\ m}}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    53
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    54
\newcommand{\typ}[1]{\lstinline{#1}}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    55
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    56
\newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}}  }
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    57
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    58
%%% This is from Fernando's setup.
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    59
% \usepackage{color}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    60
% \definecolor{orange}{cmyk}{0,0.4,0.8,0.2}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    61
% % Use and configure listings package for nicely formatted code
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    62
% \usepackage{listings}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    63
% \lstset{
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    64
%    language=Python,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    65
%    basicstyle=\small\ttfamily,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    66
%    commentstyle=\ttfamily\color{blue},
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    67
%    stringstyle=\ttfamily\color{orange},
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    68
%    showstringspaces=false,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    69
%    breaklines=true,
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    70
%    postbreak = \space\dots
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    71
% }
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    72
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    73
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    74
% Title page
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    75
\title[]{Arrays \& Least Squares Fit}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    76
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    77
\author[FOSSEE] {FOSSEE}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    78
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    79
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    80
\date[] {31, October 2009}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    81
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    82
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    83
%\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    84
%\logo{\pgfuseimage{iitmlogo}}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    85
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    86
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    87
%% Delete this, if you do not want the table of contents to pop up at
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    88
%% the beginning of each subsection:
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    89
\AtBeginSubsection[]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    90
{
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    91
  \begin{frame}<beamer>
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    92
    \frametitle{Outline}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    93
    \tableofcontents[currentsection,currentsubsection]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    94
  \end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    95
}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    96
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    97
\AtBeginSection[]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    98
{
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    99
  \begin{frame}<beamer>
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   100
    \frametitle{Outline}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   101
    \tableofcontents[currentsection,currentsubsection]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   102
  \end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   103
}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   104
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   105
\newcommand{\num}{\texttt{numpy}}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   106
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   107
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   108
% If you wish to uncover everything in a step-wise fashion, uncomment
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   109
% the following command: 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   110
%\beamerdefaultoverlayspecification{<+->}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   111
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   112
%\includeonlyframes{current,current1,current2,current3,current4,current5,current6}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   113
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   114
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   115
% DOCUMENT STARTS
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   116
\begin{document}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   117
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   118
\begin{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   119
  \maketitle
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   120
\end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   121
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   122
%% \begin{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   123
%%   \frametitle{Outline}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   124
%%   \tableofcontents
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   125
%%   % You might wish to add the option [pausesections]
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   126
%% \end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   127
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   128
\begin{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   129
\frametitle{Least Squares Fit}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   130
In this session - 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   131
\begin{itemize}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   132
\item We shall plot a least squares fit curve for time-period(T) squared vs. length(L) plot of a Simple Pendulum. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   133
\item Given a file containing L and T values
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   134
\end{itemize}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   135
\end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   136
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   137
\begin{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   138
\frametitle{Least Squares Fit \ldots}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   139
Machinery Required -
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   140
\begin{itemize}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   141
\item Reading files and parsing data
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   142
\item Plotting points, lines
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   143
\item Calculating the Coefficients of the Least Squares Fit curve
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   144
\begin{itemize}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   145
  \item Arrays
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   146
\end{itemize}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   147
\end{itemize}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   148
\end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   149
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   150
\begin{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   151
\frametitle{Arrays}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   152
\end{frame}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   153
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   154
\end{document}
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   155
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   156
Least squares: Smooth curve fit. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   157
Array Operations: Mean, average (etc region wise like district wise and state wise from SSLC.txt) 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   158
Subject wise average. Introduce idea of dictionary. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   159
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   160
Session 3
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   161
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   162
import scipy
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   163
from scipy import linalg.
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   164
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   165
choose some meaningful plot. ??
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   166
Newton's law of cooling. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   167
u, v, f - optics
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   168
hooke's law
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   169
Least fit curves. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   170
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   171
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   172
Choose a named problem. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   173
ODE - first order. Whatever. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   174
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   175
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   176
arrays, etc etc. 
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   177
sum, average, mean. whatever. statistical
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   178
sslc data
66709e58f765 Added session3.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   179
numpy load text??