Solution:
Here, charge on pitch ball A,
Mass of pitch ball A,
The weight m1 of the pitch ball A acts vertically downwards.
Let q2 be charge on the pitch ball B held 2 cm above the pitch ball A, so that the pitch ball A remains stationary. It can be possible only, if the charges on two pitch balls are of opposite signs,
i.e if charge on pitch ball A is positive, charge on B must be negative. Then, the force on pitch ball A due to B, i.e. FAB will act vertically upwards (figure). For charge q1 to remain stationary,
Here, AB = 2 cm = 0.02 m