The displacement of an elastic wave is given by the function y=3sinωt+4cosωt, where y is in cm and t is in seconds. Calculate the resultant amplitude.