How is mechanical advantage related to the velocity ratio for an ideal machine?
Mechanical advantage is equal to the velocity ratio.
Ideal machine is free from friction and its efficiency is 100%. For an ideal machine, the efficiency is always equal to 1 and the mechanical advantage is numerically equal to the velocity ratio.