In some cases, the meathod of trial and error can be used to solve problems.