amplitude mathematical definition