\documentclass{article}

\usepackage{graphicx}
\usepackage{subfiles}

\begin{document}

\subfile{chapters/intro}
\newpage
\subfile{chapters/OpenStax_Precalc_4_7.tex}

\bibliographystyle{plain}
\bibliography{main}

\end{document}
