an algorithim is a methodical, logical rule or procedure for solving a particular problem.