testing trignometric functions in sounds