ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 04 Jan 2020 21:22:33 +0100how to plot a rotation of the function in 3D?https://ask.sagemath.org/question/49363/how-to-plot-a-rotation-of-the-function-in-3d/I have a code for rotation of the function but in 2D and I would like this figure (field between functions) to be plot in 3D but I don't know how to modify that code(I'm a beginner in Sage..)
f1(x)=2*x - x**2
f2(x)=(f1(x))**2
V=abs(integral(f2(x),x,0,2))
Volume=pi*V
Volume
plot(2*x - x**2,(x,0,2)) + plot((-2)*x + x**2,(x,0,2))
plot([2*x - x**2, (-2)*x + x**2],(x,0,2), fill={0:[1]})precelinaSat, 04 Jan 2020 21:22:33 +0100https://ask.sagemath.org/question/49363/