Sentence Examples with the word by trial and error

I thought I might be able to fix the time setting by trial and error but I was at a loss establishing a location.