How do you take the square root of a number?
You type 'import math' and then get to square roots by typing 'sqrt' and then put the number in parentheses.
How do you use a mathematical constant such as pi?
You import math and then type 'pi' to get the value of it.
How do you use trigonometric and logarithmic functions?
You use sin for trigonometric functions, and log for logarithmic functions.