%        ابتدا دو بار کلید F1  و بعد کلید F12 و دوباره کلید F1 و در آخر کلید F7 را فشار دهید.
%        توضیحات مربوط به هر بسته یا دستور را می‌توانید در خط بالایی آن ببینید.
\documentclass[a4paper,12pt]{report}
\usepackage{color,graphicx} % inserting images
\usepackage{setspace} % for switching between double/single space in document
% در ورژن جدید زی‌پرشین برای تایپ متن‌های ریاضی، این چهار بسته، حتماً باید فراخوانی شود:
\usepackage{amsthm,amssymb,amsmath,mathrsfs}
%\usepackage{fontspec}  % provides font selecting commands
% بسته‌‌ای برای ایجاد دیاگرام‌های مختلف
% setting the margins of page
\usepackage[arc,all]{xy}
%\usepackage{sseq}
% بسته‌ و دستوراتی برای ایجاد لینک‌های رنگی با امکان جهش
\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=magenta]{hyperref}
% چنانچه قصد پرینت گرفتن نوشته خود را دارید، خط بالا را غیرفعال و  از دستور زیر استفاده کنید چون در صورت استفاده از دستور زیر‌‌، 
% لینک‌ها به رنگ سیاه ظاهر خواهند شد که برای پرینت گرفتن، مناسب‌تر است
%\usepackage{hyperref} % PDF links

% بسته‌ای برای ایجاد جعبه و کادر
\usepackage{fancybox}
% بسته‌ لازم برای تنظیم سربرگ‌ها
\usepackage{fancyhdr}
%برای چرخش جدول
%\usepackage{rotating}
%\usepackage{verbatim}
% بسته‌ای برای ظاهر شدن «مراجع» و «نمایه» در فهرست مطالب
\usepackage{tocbibind}
%بسته‌ای برای تنطیم حاشیه‌های بالا، پایین، چپ و راست صفحه
\usepackage[top=3cm,right=3cm,bottom=2.5cm,left=2.5cm]{geometry}                 
%دستوراتی برای ایجاد زیرنویس افقی
%آخرین پکیج همیشه زی پرشین باید باشد.
\usepackage{xepersian}

\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic}]{lmroman10-regular}
% چنانچه می‌خواهید اعداد در فرمول‌ها، فارسی باشد، خط زیر را نیز فعال کنید
\setdigitfont{PGaramond}
% تعریف قلم‌های فارسی و انگلیسی برای استفاده در بعضی از قسمت‌های متن
\settextfont[Scale=1.1]{XB Zar}
\defpersianfont\titr[Scale=1]{XB Titre}
\defpersianfont\zar[Scale=1]{XB Zar}
\defpersianfont\jadid[Scale=1]{Jadid Bold}
\defpersianfont\nastaliq[Scale=1.5]{IranNastaliq}
\defpersianfont\homa[Scale=1]{Homa}
\defpersianfont\yekan[Scale=1]{B Yekan}


\theoremstyle{definition}
\newtheorem{tar}{تعریف}[section]
\theoremstyle{theorem}
\newtheorem{teo}[tar]{قضیه}
\newtheorem{lemma}[tar]{لم}
\newtheorem{prop}[tar]{گزاره}
\newtheorem{cor}[tar]{نتیجه}
\newtheorem{nota}[tar]{تذکر}
\newtheorem{nok}[tar]{نکته}
\newtheorem{nok-def}[tar]{نکته و تعریف}
\newtheorem{def-nok}[tar]{تعریف و نکته}
\newtheorem{exa}[tar]{مثال}
\newtheorem{con}[tar]{حدس}

%***********************************************************
%*** this part is defined for making easy tabel problem. ***
%***********************************************************

%\makeatletter
\let\oldtabular\tabular
\let\oldendtabular\endtabular
\def\tabular{\ifmmode \@rparfalse\fi\oldtabular}
\def\endtabular{\ifmmode \@rpartrue\fi\oldendtabular}

%***********************************************************
%*** this part is defined by author for typing easy.  ******
%***********************************************************
\def\theequation{\mbox{\beginL\arabic{equation}.\arabic{chapter}\endL}}
%\def\theequation{\mbox{\beginL\arabic{equation}.\arabic{section}.\arabic{chapter}\endL}}
%\def\thefigure{\mbox{\beginR\arabic{chapter}.\arabic{figure}\endR}}
\def\diag{\InE{}\mbox{diag}\EnE{}}

\newcommand{\overto}[1]{\buildrel{  #1} \over {\longrightarrow}}
%
%\def\Underbuildrel#1\under#2{\mathrel{\mathop{\kern0pt #1}\limits_{#2}}}
\newcommand{\loverto}[1]{\buildrel{#1} \over {\longleftarrow}} 

%\def\Tribuildrel#1\over#2\under#3{\mathrel{\mathop{\kern0pt #1}\limits^{#2}_{#3}}}
\newcommand{\overunderto}[2]{\Tribuildrel \leftrightarrows \over #1 \under #2}
\newcommand{\beb}{\begin{eqnarray*}}
\newcommand{\bea}{\begin{eqnarray}}
\newcommand{\be}{\begin{equation}}
\newcommand{\ba}{\begin{array}}
\newcommand{\eeb}{\end{eqnarray*}}
\newcommand{\eea}{\end{eqnarray}}
\newcommand{\ee}{\end{equation}}
\newcommand{\ea}{\end{array}}
\newcommand{\bc}{\begin{center}}
\newcommand{\ec}{\end{center}}
\newcommand{\bt}{\begin{table}}
\newcommand{\et}{\begin{table}}

\newcommand{\Ra}{\Rightarrow}
\newcommand{\ra}{\rightarrow}
\newcommand{\la}{\leftarrow}
\newcommand{\La}{\Leftarrow}
\newcommand{\lra}{\longrightarrow}
\newcommand{\lla}{\longleftarrow}
\newcommand{\lera}{\leftrightarrow}

\newcommand{\lm}{\lambda}
\newcommand{\Lm}{\Lambda}
\newcommand{\Ga}{\Gamma}
\newcommand{\ga}{\gamma}
\newcommand{\gas}{\gamma_{\mbox{start}}}
\newcommand{\xs}{x_{\mbox{start}}}
%\newcommand{$f_{appr}$}{f_{\mbox{appr}}}




\newcommand{\ca}{{\cal A}}
\newcommand{\ck}{{\cal K}}
\newcommand{\crr}{{\cal R}}
\newcommand{\cs}{{\cal S}}
\newcommand{\cl}{{\cal L}}
\newcommand{\cm}{{\cal M}}
\newcommand{\cn}{{\cal N}}
\newcommand{\co}{{\cal O}}
\newcommand{\cp}{{\cal P}}
\newcommand{\cq}{{\cal Q}}
\newcommand{\cz}{{\cal Z}}
\newcommand{\ce}{{\cal E}}
\newcommand{\cf}{{\cal F}}
\newcommand{\cb}{{\cal B}}
\newcommand{\cc}{{\cal C}}
\newcommand{\cg}{{\cal G}}
\newcommand{\ch}{{\cal H}}
\newcommand{\cx}{{\cal X}}

\newcommand{\rr}{{\Bbb R}}
\newcommand{\n}{{\Bbb N}}
\newcommand{\z}{{\Bbb Z}}
\newcommand{\x}{{\Bbb X}}

\newcommand{\fo}{\footnote}
\newcommand{\ti}{\times}
\newcommand{\ld}{\ldots}
\newcommand{\cd}{\cdots}
\newcommand{\bu}{\bullet}
\newcommand{\sbq}{\subseteq}
\newcommand{\sbs}{\subset}
%\newcommand{\prq}{\preceq}
\newcommand{\suq}{\succeq}
\newcommand{\pr}{\prec}
\newcommand{\su}{\succ}
\newcommand{\ran}{\rangle}
\newcommand{\lan}{\langle}
\newcommand{\pma}{\pmatrix}
\newcommand{\tri}{\triangle}
\newcommand{\de}{\delta}
\newcommand{\De}{\Delta}
\newcommand{\f}{\farsi}
\newcommand{\e}{\english}
\newcommand{\hf}{\hfill}
\newcommand{\df}{\dotfill}


\newcommand{\y}{\hat{V}R\hat{V}^T}
\newcommand{\dy}{\hat{V}^T \de Y\hat{V}}




\newcommand{\st}{\mbox{s.t.}~}
\newcommand{\rar}{\mbox{arrow}~}
\newcommand{\rAr}{\mbox{Arrow}~}
\newcommand{\rd}{\mbox{diag}~}
\newcommand{\rD}{\mbox{Diag}~}
\newcommand{\rt}{\mbox{Trace}~}
\newcommand{\rv}{\mbox{vec}~}
\newcommand{\rra}{\mbox{rank}~}
\newcommand{\na}{\mbox{n.a.}~}
\newcommand{\rc}{\mbox{conv}~}



\newcommand{\pgr}{\pageref}





\newcommand{\E}{{I\!\! R}}
\newcommand{\Z}{\Bbb{Z}}
\newcommand{\N}{\Bbb{N}}

\newcommand{\Tset}{{\cal T}}
%\newcommand{\calr}{{\cal R}}
%\newcommand{\calc}{{\cal C}}
\newcommand{\column}{C}
\newcommand{\cseq}{c}
\newcommand{\rseq}{r}
\newcommand{\row}{R}
\newcommand{\col}{C}
\newcommand{\zrow}{z}
\newcommand{\zcomp}{z}
\newcommand{\tpl}{\gamma_{\times 3}}
\def\contentsname{\rl{فهرست مطالب}}
\def\listfigurename{\rl{فهرست شکلها}}
\def\listtablename{\rl{فهرست جدولها}}
\def\vec#1{{\rm \bf vec}(#1)}
\def\mat#1#2{{\rm \bf Mat}_{#1}(#2)}
\def\fref#1{\beginR\nazok\oldref{#1}\endR}



%*************************************
%\footnotesep = 12pt
\setlength{\textwidth} {16.5cm}
\setlength{\textheight} {24cm}
%\input{ketab1}
\usepackage{amssymb}
%\input{oldepsf}

%\chead{بالا وسط}% اگر دوست نداریش، پارامتر رو خالی کن
%\rhead{بالا چپ}% اگر دوست نداریدش، پارامتر رو خالی کن\english
\begin{document}
%\VerbatimFootnotes

%\vspace{0.5cm}
%\pagenumber{}
\thispagestyle{empty}
%\pagenumbering{}
%***************************************************************
\centerline {\homa بنام خدا}

\vspace{1cm}
\noindent
{\titr  دانشگاه جامع علمی ـ‍ کاربردی({\small شعبه ملکان})}  \hfill  {\small تاریخ:89/10/09} \\
\noindent
\beginL\textcolor{white}{{\nastaliq \large ۲}}\endL ~~~~مدرس: جلیل‌زاده  \hfill {\small تحویل: 89/10/15}

\vspace{1.5cm}

\centerline{\zar \Large \bf { آمار مقدماتی}}

\vspace{0.5cm}

\centerline{{\large تمرین ۱} \fo{جواب تمرین‌ها را می توانید به آدرس \lr{s\underline{ } jalilzadeh@yahoo.com} ایمیل کنید.}}

\vspace{0.85cm}

     \begin{enumerate}
           \item[۱$-$] برای داده‌های زیر میانگین حسابی، میانگین هندسی، میانگین هارمونیک، میانه، مد، 
                       واریانس و انحراف معیار را بدست آورید. {\small(1/5 نمره)}
                       $$4,~~~6,~~~6,~~~10,~~~7,~~~9$$
%
\vspace{-1cm}                       
           \item[۲$-$] فرض کنید پنجاه عدد زیر داده شده‌اند. 
\[
\ba{cccccccccc}
10 & 20 & 35 & 44 & 55 & 64 & 75 & 81 & 87 & 89   \\
11 & 22 & 36 & 48 & 56 & 68 & 76 & 82 & 89 & 101  \\
13 & 23 & 38 & 49 & 57 & 69 & 76 & 83 & 90 & 102  \\
15 & 23 & 41 & 50 & 60 & 70 & 78 & 83 & 94 & 105  \\
18 & 30 & 44 & 50 & 63 & 73 & 80 & 85 & 96 & 107  \\
\ea
\]
                       مقادیر $H_{35}$، $H_{30}$، $H_{75}$، $Q_{1}$، $Q_{2}$، $Q_{3}$، $D_{4}$، $D_{7}$ و $D_{9}$
                       را برای این اعداد بیابید. {\small(۲ نمره)}
                       
           \item[۳$-$] کلاس آماری شامل ده دانشجوی سال اول، بیست دانشجوی سال دوم، ۱۵ دانشجوی سال سوم و ۵ دانشجوی 
                       سال آخر می‌باشد. از این کلاس امتحانی گرفته شد که دانشجویان هر سال به ترتیب میانگینی برابر 
                       ۷۵، ۷۸، ۸۰ و ۸۲ را کسب نمودند. میانگین کل کلاس را پیدا کنید. {\small(0/5 نمره)}
                       
%           \item[۴$-$] 

      \end{enumerate}


\vspace{3cm}

\end{document}