This review article presents a simulation based on Python for studying fluid flow over a small disturbance (airfoil) in subsonic and supersonic conditions. The simulation revolves around the small disturbance equation method, focusing on comparative analysis under supersonic conditions. Two schemes are applied in different conditions: the central difference scheme for subsonic flows and the upwind scheme for supersonic flows. Successive-over relaxation method is also utilized for converging iterative processes. The study focuses on one influence factor in aerodynamics, the Mach number, and investigates its impact on the shark angle of an airfoil. The simulation results demonstrate that the Mach number is inversely proportional to the shark angle of an airfoil, meaning that higher Mach numbers lead to smaller shark angles of the airfoil. Therefore, the Mach number can be considered a critical parameter in designing aerodynamic applications. This finding is consistent with prior research, indicating that the designed method is reliable.