The acceleration of the coin with respect to the ground ( ) is,
Here,is the acceleration of the coin with respect to the elevator, its value is .
is the acceleration of the elevator with respect to ground, its value is as the coin is in the free fall with respect to ground and acted upon by the gravitational acceleration.
Therefore, we can write,
FBD for elevator cab with its occupant:

From FBD we can write as,
Substitute the values in the above equation to calculate the tension.
Therefore, the tension in the cable is .