I understand that this is used for things like "The function of this device is to send messages" but I was wonder if this is also the Spanish word for other uses of "function;" stuff like "F(x)=2x+8" and blocks of code that can be called and fed arguments.