A spherical ball of mass \(20\) kg is stationary at the top of a hill of height\(100\) m. It slides down a smooth surface to the ground, then climbs up another hill of height \(30\) m and finally slides down to a horizontal base at a height of \(20\) m above the ground. The velocity attained by the ball is:
1. \(10 \) m/s
2. \(10 \sqrt{30} \) m/s
3. \(40 \) m/s
4. \(20 \) m/s