how are the function's similar

Your question is unclear as you did not specify which two functions you are referring to. Please provide more information so that I can answer your question accurately.