trial and error: experimenting until a solution is found
experiment: the act of conducting a controlled test or investigation
whipping post: post formerly used in public to which offenders are tied to be whipped