This document presents a MATLAB program for power flow analysis and voltage stability analysis of power systems. It begins with an introduction to power flow analysis and its importance. It then discusses voltage stability concepts like voltage collapse and improvement methods. The methodology section describes the Newton-Raphson power flow method and P-V and Q-V curves used for voltage stability analysis. It also provides the algorithm and case study details for the IEEE 14 bus system implemented in MATLAB. The program allows for power flow solutions, calculation of P-V and Q-V curves, and voltage stability assessment of power systems.