Question: who wrote the song happy by pharrell williams
Answer: `` Happy '' is a song written , produced , and performed by American singer and record producer Pharrell Williams , from the Despicable Me 2 soundtrack album .