rotate sin(x), x from 0 to Pi, volume