The ideal transformer (either step-up or step-down) works with the equation:
VsVp= NsNp= IpIs\;\frac{V_{s}}{V_{p}} = \;\frac{N_{s}}{N_{p}} = \;\frac{I_{p}}{I_{s}}VpVs=NpNs=IsIp
where VsV_{s}Vs and VpV_{p}Vp are the voltages applied to the secondary and the primary respectively
NsN_{s}Ns and NpN_{p}Np are the number of turns on the secondary and primary coils respectively
IpI_{p}Ip and IsI_{s}Is are the currents flowing in the primary and secondary coils respectively.
Vs100= 200100\;\frac{V_{s}}{100} = \;\frac{200}{100}100Vs=100200
Vs= 200×100100=200VV_{s} = \;\frac{200 \times 100}{100} = 200VVs=100200×100=200V