Answer:
A = 2.26 m
Step-by-step explanation:
Given that,
The total mechanical energy of the block spring system is 512 J
Let the spring constant, k = 200 N/m
We need to find the amplitude for this oscillation. The mechanical energy of the spring mass system is given by :

k is spring constant

So, the amplitude of the oscillation is 2.26 m