I don't know what to do in order to fit this equation in the document, because it's so long. Help will be very appreciated, and also if someone have any idea how to simplify this equation it's will be very helpful.
\documentclass[12pt]{article}
\begin{document}
\begin{equation} a(t) =
\frac{6.67384\times 10^{-11}\times 5.972\times 10^{24}}
{ \left[149.6\sin (\frac{3\pi t}{47\times 10^6})-0.908
\left( 2.5\times 10^{-8} t^2 + 9.479 \times 10^{-6}(t+
\left| t-379.189\right| -379.189)\right)\right]^2+
\left[149.638 - 0.418(2.5\times 10^{-8} t^2 + 9.479
\times 10^{-6}(t+\left| t-379.189\right| -379.189))- 149.6 \cos
\left( \frac{3\pi t}{47\times 10^6}
\right)\right]^2+ 0.0002831}
\end{equation}
\end{document}


\documentclass{}...\begin{document}etc. As it is, most of our users will be very reluctant to touch your question, and you are left to the mercy of our procrastination team who are very few in number and very picky about selecting questions. You can improve your question by adding a minimal working example (MWE) that more users can copy/paste onto their systems to work on. If no hero takes the challenge we might have to close your question. – Teepeemm May 19 '17 at 19:00\cos \left( \frac{3\pi t}{47\times 10^6} \right)\right]^2+ 0.0002831} \end{equation}\end{document}
– Michael Novak May 19 '17 at 19:53\fracdirectives. Having no idea what the final result is supposed to look like, it's hard to give specific advice on how to fix your code. – Mico May 19 '17 at 20:48\sin (\frac{3\pi t}{47\times 10^6)looks problematic. Should it maybe be\sin (\frac{3\pi t}{47\times 10^6})? – Mico May 19 '17 at 20:52