What is the amplitude of the output voltage?
Your answer is fine but you have misinterpreted what is meant by output amplitude. Whenever we talk about a signal amplitude (with no other constraints) we talk about an RMS value hence, you calculated the RMS value correctly at 20 amps but then assumed that the peak value of 28.28 volts was required. It isn't required.
An alternative way recognizes that the 200 μF capacitor has an impedance magnitude of 50 Ω when ω = 100 radians per second. This means that the magnitude of Vout/Vin is 0.7071. Input RMS is 40 x 0.7071 therefore output amplitude is 20 volts.