Assuming the function has been defined, one might issue:

> S:= int(2*Pi*f(x)*sqrt(1+D(f)(x)^2), x= 0..9);

> evalf(S);

to find the surface area of the solid obtained by rotating f(x) about the x-axis.