Rotating a curve about a line

On the left, enter a function whose graph you would like to rotate. (You can give y as a function of x, or x as a function of y.) On the right, enter which vertical or horizontal line you would like to rotate the graph around. Based on http://www.geogebratube.org/material/show/id/25237
Rotating a curve about a line

Information: Rotating a curve about a line