Net gravitational force at the center of a square is found to be when four particles having mass and are placed at the four corners of the square as shown in the figure and it is when the positions of and are interchanged. The ratio is The value of is _________.

Let the distance from the center of the square to each corner be . The magnitude of the gravitational force from a mass on a test mass at the center is . Let .
So the force from a mass has magnitude .
In the given figure:
Diagonal 1 (connecting and ): The masses pull in opposite directions. The net force along this diagonal is (acting towards the mass).
Diagonal 2 (connecting and ): The net force along this diagonal is (acting towards the mass).
Since the diagonals of a square are perpendicular:
When the positions of and are interchanged:
The mass is now at the Top-Right corner (paired with ).
The mass is now at the Top-Left corner (paired with ).
Diagonal 1 (connecting and ): Net force .
Diagonal 2 (connecting and ): Net force .
Tagged Kepler's laws and planetary motion. Machine-assigned, so read it as a strong shortlist rather than a verdict.