Trial and error
Trial and error was the process of finding a solution to a problem by trying many possible solutions and learning from mistakes until success was attained.

In 2268, Leonard McCoy and Spock were discussing slavery on 892-IV as Spock assumed that it was trial and error. ()

External link 

Philosophy