3rd Person Camera (With Dampening)

Alright, so I have made a topic about this before, but it was a while ago. How should I start making a 3rd person camera with dampening? I’m mostly focused on the camera dampening since it involves a lot of trig functions.