Asking about the cost function

Hello, please check this out.