1. Define a function in interactive mode that calculates the volume of a sphere using the formula 4/3*pi*r3. What is the volume of a sphere with radius of 5?
Hint 1: The module math has a field called pi.
Hint 2: The answer is not 392.70.
2.
1. Define a function in interactive mode that calculates the volume of a sphere using the formula 4/3*pi*r3. What is the volume of a sphere with radius of 5?
Hint 1: The module math has a field called pi.
Hint 2: The answer is not 392.70.
2.