Ryan is using trigonometry to scale up the user interface. What does Ryan use to adjust the height and width based on parameters to give the effect of the Ul element rising and falling?

Ryan uses the sine and cosine functions to adjust the height and width based on parameters. By manipulating these functions, he can create a smooth and continuous rise and fall effect for the Ul element.