I'm currently writing a summary for my semiconducter devices course and I'm trying to do it with Latex (just started today). I have the following problem:
I have two chapters with two formulas each. But they writing is too close together. Here my first attempt:
\section{Quantum Theory of solids}
\begin{multicols}{2}
\subsection{Density of States}
$D_c(E)=\displaystyle\frac{4\pi (2m^*_n)^{3/2}}{h^3}\displaystyle\sqrt{E-E_c}$\\
$D_v(E)=\displaystyle\frac{4\pi (2m^*_p)^{3/2}}{h^3}\displaystyle\sqrt{E_v-E}$
\columnbreak
\subsection{Fermi-Dirac Distribution}
$f_e(E)=\displaystyle\frac{1}{1-exp(\frac{E-E_F}{k_BT})}$\\
$f_h(E)=1-f_e(E)$
\end{multicols}
Which looks like this:

then i tried to add the command \flushright like this:
\columnbreak
\begin{flushright}
\subsection{Fermi-Dirac Distribution}
$f_e(E)=\displaystyle\frac{1}{1-exp(\frac{E-E_F}{k_BT})}$\\
$f_h(E)=1-f_e(E)$
\end{flushright}
The result:

I would be really grateful if you were to help a noob like me to make this formation better.
PS: here is the full text
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{color}
\usepackage{comment}
\usepackage{multicol}
\begin{document}
\title{Semiconducter Devices}
\author{Jean-Marc Sujata}
\date{\today}
\maketitle
\newpage
\begin{wrapfigure}{r}{0.25\textwidth} %this figure will be at the right
\centering
\includegraphics[width=0.25\textwidth]{DC.png}
\end{wrapfigure}
\section{Unit Cells}
$package\ density = \displaystyle{\frac{N_{Atoms} \cdot V_{Atoms}}{V_{unit cell}}}$
\\
\begin{tabular}{|c|c|c|c|}
\hline
$Type$ & Atoms & r-a ratio & Volume\\ \hline
$simple\ cubic$ & $N=1$ & $2r=a$ & $V_a=\frac{\pi}{6}r^3$\\ \hline
$body\ centered$ & $N=2$ & $2r=\frac{\sqrt{3}}{2} a$ & $V_a=\frac{8\pi}{3}r^3$\\ \hline
$face\ centered$ & $N=4$ & $2r=\frac{\sqrt{2}}{2}\cdot a$ & $V_a=\frac{16\pi}{3}r^3$\\ \hline
$simple\ cubic$ & $N=8$ & $2r=\frac{\sqrt{3}}{4}a$ & $V_a=\frac{32\pi}{3}r^3$\\ \hline
\end{tabular}
\includegraphics[width=8cm, height=2cm]{Faces.png}
\section{Quantum Theory of solids}
\begin{multicols}{2}
\subsection{Density of States}
$D_c(E)=\displaystyle\frac{4\pi (2m^*_n)^{3/2}}{h^3}\displaystyle\sqrt{E-E_c}$
\noindent $D_v(E)=\displaystyle\frac{4\pi (2m^*_p)^{3/2}}{h^3}\displaystyle\sqrt{E_v-E}$
\columnbreak
\subsection{Fermi-Dirac Distribution}
$f_e(E)=\displaystyle\frac{1}{1-exp(\frac{E-E_F}{k_BT})}$
\noindent $f_h(E)=1-f_e(E)$
\end{multicols}
\end{document}
\
If it helps: I'm using Texmaker



wrapfignext to a\sectionis something that will certainly break things. – egreg Apr 03 '15 at 21:49