Finite element approach to the integrated potential formulation of general unsteady supersonic aerodynamics