\documentclass[10pt]{book}
\usepackage{fancyhdr}
\usepackage{amssymb,amsmath}
\usepackage[thmmarks,framed]{ntheorem}

\usepackage[Kashida]{xepersian}


\theorembodyfont{\rm}
\newtheorem{theorema}{قضیه}[section]
\newtheorem{examplea}[theorema]{مثال}
\theorembodyfont{\rm}
\theoremstyle{nonumberplain}
\theoremseparator{.}
\theoremsymbol{\ensuremath{\blacksquare}}
\newtheorem{bor}{اثبات}
\newtheorem{solve}{حل}

\begin{document}
\baselineskip=.8cm

\setcounter{page}{1}
\pagestyle{fancy}
%fancyhf{}
\fancyhead[LO]{\mbox{بخش} \rightmark/ \thepage}
\fancyhead[RE]{\thepage/\leftmark }
\chapter{معادلات دیفرانسیل مرتبه اول}
\addcontentsline{toc}{section}{مقدمه }
\section{مقدمه}

\begin{examplea}
 در کشت معینی
تعداد باکتری‌ها در
\end{examplea}
\begin{solve}
 
\begin{align*}
y(6)=2\times 500 &\Rightarrow 500e^{6k}=1000 \Rightarrow e^{6k}=2\\
&\Rightarrow 6k=\ln 2 \Rightarrow k=\frac{1}{6}\ln 2=\ln\sqrt[6]{2}
\end{align*}  
اکنون باید زمانی را بیابیم که $y(t)=500000$ باشد. بنابراین داریم 

یعنی در زمان کمتر از $1$ ساعت تعداد باکتری‌ها به $500000$ می‌رسد.
\end{solve}


\begin{solve}
 چون دو پارامتر موجود است بنابراین از معادله $y=c_1\cos 3x+c_2\sin 3x$ دو بار مشتق می‌گیریم. داریم%\vspace*{-.3cm}
\begin{align*}
y'&=-3c_1\sin 3x+3c_2\cos 3x\\
y''&=-9c_1\cos 3x-9c_2\sin 3x
\end{align*}
\end{solve}\end{document}


