The formula for the surface area A of a cylinder with radius r and height h is:
[tex]A=2\pi r^2+2\pi rh[/tex]Solving for h:
[tex]\begin{gathered} A=2\pi r^2+2\pi rh \\ \Rightarrow A-2\pi r^2=2\pi rh \\ \Rightarrow\frac{A-2\pi r^2}{2\pi r}=h \\ \Rightarrow h=\frac{A}{2\pi r}-r \end{gathered}[/tex]The answer is h=(A/(2r*pi))-r