Here, sin() is used within the calc() function to determine the width and height of three div elements.