Program to find the surface area of the sphereThe sphere can be defined as the round 3D object having a string of points located at a uniform distance from a particular point called center. It is perfectly symmetrical and has no edges or vertices. A sphere with radius r has a volume of (4/3) x pie x radius2 and a surface area of 4 x pie x r2. FormulaSurface area of sphere = 4 x pie x r2 Algorithm
ComplexityO(1) SolutionC ProgramOutput: Surface area of the sphere=17210.285714 PHP ProgramOutput: Surface area of sphere=17210.285714301 Java ProgramOutput: Surface area of sphere=17210.28571430136 C# ProgramOutput: Surface area of sphere=17210.2857143014 Python ProgramOutput: Surface area of the sphere=17210.28571430136 Next Topic# |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India