Unity, how to get the same acceleration like on GetAxisRaw manually?

Hello I want to accelerate and deccellerate an object which is following the player but with acceleration. I dont know how I can use GetAxisRaw for Vector3.MoveTowards() Is there else a way of getting an acceleration like getaxisraw but manually?