@tanguatlay,
"function" and "definite" are correct.
However "definitive" might be acceptable in a
specific context. If research were being done on a particular medicine and it was being prescribed for different lengths of time to see how effective it was, the researchers could be seeking to find the "definitive" period of time for the course of medication.