I\'m asking for advice of what is the correct function to use in the following cases, also, if my theory is right: