This study discusses a new version of the (2+1)\\documentclass[12pt]{minimal} \\usepackage{amsmath} \\usepackage{wasysym} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{amsbsy} \\usepackage{mathrsfs} \\usepackage{upgreek} \\setlength{\\oddsidemargin}{-69pt} \\begin{document}$$(2+1)$$\\end{document}-dimensional Kadomtsev-Petviashvili equation. This equation is used to model the behavior of nonlinear waves in various fields like ferromagnetic media, ion-acoustic waves in plasma physics, and fluid dynamics. It is instrumental in modeling surface and internal waves in straits or channels. The main goal of the research is to determine the exact solutions for this equation and analyze their physical characteristics. We obtain exact solutions using two improved techniques, namely the modified extended tanh-function and the modified generalized Kudryashov methods. These techniques investigate various exact solutions, such as exponential, rational, hyperbolic, and trigonometric. Besides, the sensitivity and the stability analysis of the model are presented. Additionally, three- and two-dimensional contour plots are created to present the physical behavior of the exact solutions.