Multiple float in, out functions at once

Sorry if my previous post was offensive, lots of lazy ppl use the forum to get their (home) work done. Q: Do you HAVE to use a sinus wave to get the result you want? There are other methods which are much simpler and better..