Question: why rms value is calculated?
Answer: In everyday use, AC voltages (and currents) are always given as RMS values because this allows a sensible comparison to be made with steady DC voltages (and currents), such as from a battery. For example, a 6V AC supply means 6V RMS with the peak voltage about 8.6V.