This paper demonstrates that a considerable number of investors are entering the stock market as the economy displays signs of post-epidemic recovery. Nevertheless, even though the stock market acts as the foundation of the financial sector, not all stockholders can achieve significant profits from it. Yet, stock prices in the stock market have been challenging to keep rational and lack a stable pattern, marked by a notable level of uncertainty, which complicates investment decisions. Consequently, this paper aims to employ scientific mathematical techniques for the analysis and prediction of stock prices, with the goal of achieving a more comprehensive grasp of the stock market's general trend, thereby promoting prudent investment planning.