Department of Mathematics

Math 583: Mathematical Hacking


Write a Python function that returns the nth digit of pi. Hints: Sympy has a floor function that truncates the non-integer part of a number; remember that i mod j is written i%j in Python.

Mail the completed .py file to the instructor .

Welcome to Math 583, Hacking Mathematics.

Department of Mathematics, PO Box 643113, Neill Hall 103, Washington State University, Pullman WA 99164-3113, 509-335-3926, Contact Us
Copyright © 2009-15 Kevin Cooper