This thesis constitutes a numerical study concerning the dynamics of an inviscid fluid subject to Newtonian gravity. Type-II critical phenomena has been previously measured in gravitational collapse simulations of isothermal-gas-spheres in Newtonian gravity. Our first objective was to extend this work by applying the more general polytropic-gas equation-of-state to the spherically symmetric fluid. We showed that under generic conditions of critical collapse, the polytropic gas allows for scale-invariant solutions. These solutions display self-similarity of the first kind with non-linear scaling between the space and time variables. One of these solutions was identified as the critical solution in critical collapse simulations. Such solutio...