Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

the surface area of a sphere is calculated using the formula $surfacear…

Question

the surface area of a sphere is calculated using the formula $surfacearea = (r^2) * 4 * \pi$, where $r$ is the spheres radius.
given variable sphere_radius read from input and constant pi, compute the surface area of a sphere and assign sphere_surface with the surface area.
click here for example
1 pi = 3.14159
2
3 sphere_radius = float(input())
4
5 \\\ your code goes here \\\
6
7 print(f\sphere surface area: {sphere_surface:.2f}\)

Explanation:

Step1: Apply sphere surface area formula

$sphere\_surface = 4 * PI * sphere\_radius^2$

Answer:

sphere_surface = 4 * PI * sphere_radius ** 2