One day I was locked out of my house, but I recalled that the lock on my back door was not very good. I reasoned that if I jiggled the door, the lock would open. I did this and was able to get into my house. In dealing with this situation, I engaged in __________?
1) optimal foraging
2) fixed action pattern
3) problem solving
4) habituation