Differences between revisions 2 and 3
Revision 2 as of 2012-10-11 14:52:43
Size: 99
Editor: hassan
Comment:
Revision 3 as of 2012-10-11 14:59:27
Size: 279
Editor: hassan
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
1. Define a function in interactive mode that calculates the volume of a sphere using the formula 1. Define a function in interactive mode that calculates the volume of a sphere using the formula ''4/3*pi*''r''^3^''. 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.

None: Meetings/Delhi2012/Practicals/Practical_2/PyEx (last edited 2013-06-03 12:24:10 by mark)