Of course it was done through trial and error. The water is transported up and down in Sigiriya using the mere pressure of the water. Our ancestors knew about water and it's pressure for centuries before Sigiriya (through irrigation and dam building). It was or ancestors who had built the...