rotate sin x with 0<x<pi around the x-axis