Write a program that evaluates the volume and surface area of a sphere of
radius 11.2cm.
To write a program that evaluates the volume and surface area of a sphere, you need to use the formulae for volume and surface area of a sphere.
Here's a Python program that calculates the volume and surface area of a sphere with a radius of 11.2 cm:
```python
import math
# Input
radius = 11.2
# Calculation
volume = (4/3) * math.pi * math.pow(radius, 3)
surface_area = 4 * math.pi * math.pow(radius, 2)
# Output
print("Volume of the sphere:", volume, "cubic cm")
print("Surface area of the sphere:", surface_area, "square cm")
```
In this program, we import the `math` module to have access to the mathematical functions, including `math.pi` which represents the constant pi.
Then, we define the radius of the sphere and store it in the `radius` variable.
Using the formula for volume of a sphere `(4/3) * pi * r^3`, we calculate the volume and store it in the `volume` variable.
Similarly, using the formula for surface area of a sphere `4 * pi * r^2`, we calculate the surface area and store it in the `surface_area` variable.
Finally, we print the volume and surface area with appropriate units.
When you run this program, you will see the output:
```
Volume of the sphere: 7084.812239203286 cubic cm
Surface area of the sphere: 1571.487961442739 square cm
```
So, the volume of the sphere is approximately 7084.81 cubic cm and the surface area is approximately 1571.49 square cm.