Dimensional analysis does not check whether a solution is correct because a dimensionally correct equation is just that and not necessarily a correct equation. For example, one may claim that the surface area of a sphere of radius ##R## is ##A=3\pi R^2.## That makes it dimensionally correct because it has dimensions of area, namely length squared, but it is factually incorrect because it is the total surface area of a hemisphere, not a sphere. If you don't know what the area of a sphere and a circle are in terms of the radius, you would be able to assess its correctness purely on dimensional grounds. However if one claimed that the area of a sphere is ##A=4\pi R^3##, then you would know purely on dimensional grounds that it has imensions of volume, not area and is, therefore, incorrect.