I would like to put them into a certain suitaiton, the first one sounds like" I cooked the meal" ( with the note of "I made it or I did that")
What have you done today? I COOKED the meal!
The latter one actually is a statement with very light note.
Personally, theres's slight difference betweent them.