Cut a cylinder to get a sine function

Information: Cut a cylinder to get a sine function