\documentclass[12pt,a4paper]{article}
\usepackage{doc}
\usepackage[cp1250]{inputenc}
\usepackage{czech}
\usepackage{graphicx}
\author{Typed by Petr Šafařík}
\title{FD010 - Priciples of modern optics imaging methods \\ Technical documentation for the program \\ ''Lens parameter calculation''}

%\includegraphics[width=0.5\textwidth]{obrazek.jpg}
\pagestyle{headings}
\usepackage[pdftex]{hyperref} %MUSÍ BÝT POSLEDNÍ V PREAMBULI!!!

\begin{document}
\maketitle \tableofcontents

\newpage
\section{Getting Started}

Before using the program, please make sure your system meets the following requirements:
\subsection{Minimum Requirements}
\begin{itemize}
\item ZX Spectrum
\item Tape recorder (ZX Spectrum included)
\item Tape
\item Television (for ZX Spectrum video-output)
\end{itemize}

\subsection{Recommended Requirements}
\begin{itemize}
\item PC
\item with RAM
\item and Hard disk
\item internet, USB, floppy or CD-rom included
\item Linux
\end{itemize}

\subsection{Not Recommended Requirements}
\begin{itemize}
\item Microsoft Windows 95
\item Microsoft Windows 98
\item Microsoft Windows ME
\item Microsoft Windows 2000
\item Microsoft Windows XP
\item Microsoft Windows Vista
\item Microsoft Office (any)
\end{itemize}

\subsection{Multiplayer}
It's computing program, not game. Please make sure, you're reading correct file!

\subsection{Supported Peripherals}
However it's not game, these peripherals are supported:
\begin{itemize}
\item Microsoft Sidewinder Force Feedback Wheel
\item Logitech Wingman Pro Wheel
\end{itemize}

\subsection{Windows 95 users}

Please, go to National Technical Museum in Prague, they will thank's you for this machines\ldots{}
And by the way, any Windows have not technical support. 

\subsection{Windows NT 4.0}

I do not support Windows NT.

\subsection{Windows 2000}

Although Windows 2000 is not officially supported, program should still run. For best performance please ensure you have installed the latest service pack, which can be found at Microsoft’s Home Page.

\section{Installation}
Place the program CD into your CD/DVD-ROM drive (tape recorder). If your computer is AutoPlay enabled, program will not automatically appear. Open CD-ROM drive (play tape) and wait to load the file. 

In the linux type fd010 and follow instruction at the screen.


\section{Default Keyboard Settings}
For Windows users: 
\begin{center}
\texttt{alt + ctrl + del} (many times).
\end{center}

\section{Peripherals}

In order for your steering wheel or joystick to be correctly recognised, you must create a profile for it within Windows prior to launching the game. To this, please consult the documentation and software packaged with your peripheral.

Before launching please ensure that all controller pedals have been set-up as separate axis from within the Windows Control Panel.  From within program, also ensure that all axis of the controller (i.e. the wheel and pedals) have been correctly configured and calibrated. I.e. Steer left = Turn wheel to the left. Steer Right = Turn wheel to the right Etc.

\section{Customer Service Information}

TECHNICAL SUPPORT


Thank you for using this product. If you are experiencing difficulties with this title, please take advantage of the following product support. Please note that all our operators only speak English and Czech only. \\


\begin{tabular}{cc} \hline
Technical Support: & 775 045 446 \\
Fax: & none \\
Internet email: & petos@mail.muni.cz \\
World Wide Web: & http://monoceros.muni.cz/$\sim$petos \\ \hline
\end{tabular}
\\

\paragraph{Address:}
\begin{center}
Customer Services Department\\ Petr Šafařík\\ Koleje Tvrdého 5/7\\ Brno \\612 00
\end{center}                            

In the unlikely event of a software fault please return the complete package, with your receipt, to the original place of purchase.

If you do telephone, please be sitting in front of your computer (if possible) and be sure to provide us with as much information as possible. Make sure to note the exact type of hardware that you are using in your system, including:
\begin{itemize}
\item Speed and Manufacturer of your Processor.
\item Make \& Model of your Sound Card and Video Card.
\item Make \& Model of your CD-ROM drive.
\item Amount of RAM present.
\item Any additional Hardware and Peripherals.
\item Prepare a hammer (if you're not using Linux, you will be ask to use it)
\end{itemize}
 

\paragraph{Note:} If you have any problems in obtaining any System Information please consult your System supplier.  It is extremely important that you have the information above at hand when you call.

When contacting us by post, ensure you include the Title \& Version, a detailed description of the problem you are experiencing and the exact type of hardware that you are using.

Please, don't fax us anything. Anywhere. 

\section{How to use it}
\subsection{Shortly}Load enter parameters of the lens and enviroment. And at blue-white cells you will be able to read the result.

\subsection{Not so shortly}
\begin{enumerate}
\item As the first thing you have to enter parameters of the enviroment and the lens. There are:

\begin{enumerate}
\item Of the enviroment, refractive index of the left enviroment, of the lens a and of the right enviroment (from the lens)

\begin{itemize}
\item Left refractive index $n_0$
\item Refractive index of lens $n_1$
\item Right refractive index $n_2$
\end{itemize}

\item Lens parameters. There are coordinates of the vertexes and centres of curvature.
\begin{itemize}
\item Left lens vertex $v_1$
\item Right lens vertex $v_2$
\item Centre of curvature 1 $s_1$
\item Centre of curvature 2 $s_2$
\end{itemize}
\end{enumerate}
Make sure you have put correct numbers!
\item In the second step the relative refractive indexes will be set. 
$$N_{01} = \frac{n_0}{n_1}$$
$$N_{12} = \frac{n_1}{n_2}$$

\item Matrix determination.

$$R_2 = \left( \begin{array}{cc} 1 & 0 \\ \frac{1-N_{12}}{v_2 - s_2} & N_{12} \end{array} \right)$$

$$T_{12} = \left( \begin{array}{cc} 1 & v_2-v_1 \\  0 & 1\end{array} \right)$$

$$R_1 = \left( \begin{array}{cc} 1 & 0 \\ \frac{1-N_{01}}{v_1 - s_1} & N_{01} \end{array} \right)$$

\item The matrix $S$ of the system is set in this step.

$$S = R_2 T_{12} R_1$$

$$S = \left( \begin{array}{cc} 1 & 0 \\ \frac{1-N_{12}}{v_2 - s_2} & N_{12} \end{array} \right) \cdot \left( \begin{array}{cc} 1 & v_2-v_1 \\  0 & 1\end{array} \right) \cdot \left( \begin{array}{cc} 1 & 0 \\ \frac{1-N_{01}}{v_1 - s_1} & N_{01} \end{array} \right)$$

$$S = \left( \begin{array}{cc} s_{11} & s_{12} \\ s_{21} & s_{22} \end{array} \right)$$

\item Results
 \begin{itemize} 
 	\item Image focal point $F_{I}$
 				$$F_I = v_2 - \frac{s_{11}}{s_{21}}$$
 	\item Objective focal point $F_O$
 				$$F_0 = v_1 + \frac{s_{22}}{s_{21}}$$
 	\item Image plane $H_I$
 				$$H_I = v_2 + \frac{1-s_{11}}{s_{21}}$$
 	\item Objective plane $H_O$
 				$$H_O = v_1 + s_{12} + \frac{s_{22}\left(1-s_{11}\right)}{s_{21}}$$
 \end{itemize}

\section{Product licence}
\small{
\texttt{
PLEASE READ THIS PRODUCT LICENCE (THIS LICENCE) CAREFULLY.  BY USING THE SOFTWARE AND OPENING, YOU ARE ACKNOWLEDGING THAT YOU HAVE READ AND UNDERSTOOD THIS LICENCE AND THAT YOU AGREE TO BE BOUND BY ITS TERMS.  IF YOU DO NOT AGREE TO THESE TERMS, YOU MAY NOT OPEN IT AND PROMPTLY RETURN THE UNUSED SOFTWARE AND ALL RELATED MATERIALS TO THE PLACE WHERE YOU OBTAINED THEM FOR A FULL REFUND.
}
\texttt{
\paragraph{COPYRIGHT} Copyright in the Product (which shall mean this one copy of the software and any accompanying electronic files and printed materials) and every part of the Product is owned by Peťoš and/or its suppliers and is protected by copyright law.
}
\texttt{
\paragraph{GRANT OF LICENCE}
Peťoš hereby grants you (being either an individual or other legal entity), the end user, the limited, non-transferable right to use the Product on any single computer only for your personal use and enjoyment and subject to the terms herein.  This Licence is your proof of licence to exercise the rights granted herein and must be retained by you. Virgin may terminate this Licence immediately if you fail to comply with any of the terms of this Licence.
}
\texttt{
\paragraph{RESTRICTIONS}
Peťoš retains all rights not expressly granted herein.  You must therefore treat the Product like any other copyright material (e.g. a book or musical recording) except that to the extent that the Product is software you may either (a) make one copy of the Product solely for backup or archival purposes, or (b) transfer the Product to a single hard disk 
provided you keep the original solely for backup or archival purposes. Further, if the Product contains a map or level editor, you may use the editor in accordance with the instructions in the accompanying documentation to create maps or levels for your personal use and enjoyment, and you may allow others to use such maps or levels for their personal use and enjoyment, but in no event may such maps or levels be exploited commercially in any manner, by you or any other individual or legal entity.  You may not copy the written materials accompanying the Product.The Product is licensed to you only for your personal use and enjoyment and may not be used for any commercial purpose whatsoever.  You may not loan, rent, lease, give, sell, offer for sale, sub-licence or otherwise transfer the Product or any portion of the Product or anything incorporated therein, including any screen display, sound or accompanying documentation, to any third party, nor may you permit any other person to use the Product in exchange for remuneration.  Further, you may not place the Product on a computer system that would allow multiple users to access it.  Notwithstanding the foregoing, you may transfer your rights under this Licence on a permanent basis provided you transfer this Licence and the Product, including all accompanying printed materials, while retaining no copies, and the recipient agrees to be bound by the terms of this Licence. Everyone, who's been reading this text is obligated visit his or her psychiatrist, cause thist is just a copy of licence. So don't take it serious. It's just because of professional 'look'. If the Product is an update, any transfer must include this update and all prior revisions.Save to the extent permitted by law you may not copy, modify, adapt, translate, create derivative works of, publicly perform, publicly display, distribute, transmit, decompile, disassemble, or attempt to derive source code from, all or any portion of the Product or anything incorporated therein, including any screen display, sound or accompanying documentation, or permit or encourage any third party to do so. Without limiting the generality of the foregoing restrictions, specifically you may not offer the Product on a pay-per-play basis or on a computer system or network to which you lease or rent access to others, electronically distribute the Product, or any portion of the Product or anything incorporated therein, including any screen display, sound or accompanying documentation.
}
\texttt{
\paragraph{LIMITED WARRANTY}
You expressly acknowledge and agree that use of the Product is at your sole risk. Peťoš warrants that the software will perform substantially in accordance with the accompanying written materials for a period of ninety (90) days from the date of the Product’s initial purchase.  No dealer, distributor, agent or employee of Peťoš is authorised to make any modification or addition to this warranty.
}
\texttt{
\paragraph{NO OTHER WARRANTIES}
Peťoš disclaims all other warranties, express, implied or, to the extent permissible by law, statutory, including all warranties of satisfactory quality, fitness for a particular purpose and non-infringement, with respect to the Product. Peťoš does not warrant that the Product will satisfy the requirements of your computer system or that the Product is without defect or error or that the operation of the Product will be uninterrupted.NOTHING IN THIS LICENCE WILL AFFECT YOUR STATUTORY RIGHTS IF YOU ARE A CONSUMER UNDER ANY APPLICABLE STATUTE
}
\texttt{
\paragraph{CUSTOMER REMEDIES}
Peťoš’s entire liability and your exclusive remedy shall be, at Peťoš’s option, either (a) return of the price paid for the Product or (b) repair or replacement of the Product that does not meet the limited warranty set forth in Section 4 of this Licence, provided that it is returned to Peťoš with proof of purchase.  The limited warranty set forth in Section 4 of this Licence is void if failure of the Product has resulted from accident, abuse, misapplication or any wrongful or negligent act by you. Any replacement of the Product will have the same limited warranty and this will last for the remainder of the original warranty period or thirty (30) days, whichever is longer.  
}
\texttt{
\paragraph{LIMITATION OF LIABILITY}
In no event shall Peťoš be liable for any damages whatsoever (including, without limitation, consequential, special, indirect, direct, incidental, loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of the Product, even if Peťoš has been advised of the possibility of such damages.  In no event shall Peťoš’s liability by operation of law, if any, be greater than the price you paid for the Product.
}
\texttt{
\paragraph{GENERAL}
This Licence sets forth the entire agreement between Peťoš and you with respect to the subject matter hereof and supersedes all prior negotiations, understandings and agreements, whether written or oral, between Peťoš and you concerning the subject matter of this Licence. This Licence shall be governed and interpreted in accordance with the laws of England and you specifically agree to submit to the non-exclusive jurisdiction of the Czech Courts.  Should any provision of this Licence be held to be void, invalid, or inoperative, the remaining provisions hereof shall not be affected and shall continue in effect as though such unenforceable provision(s) have been deleted from this Licence.  No failure or delay by Peťoš in exercising any right, power, or remedy hereunder shall operate as a waiver or any such right, power, or remedy.
}
}
\end{enumerate}
\end{document}
