Commit b2b2382d authored by Mark Dickinson's avatar Mark Dickinson

Fix capitalization.

parent d325c4b2
...@@ -1717,7 +1717,7 @@ to work with the :class:`Decimal` class:: ...@@ -1717,7 +1717,7 @@ to work with the :class:`Decimal` class::
def cos(x): def cos(x):
"""Return the cosine of x as measured in radians. """Return the cosine of x as measured in radians.
The taylor series approximation works best for a small value of x. The Taylor series approximation works best for a small value of x.
For larger values, first compute x = x % (2 * pi). For larger values, first compute x = x % (2 * pi).
>>> print(cos(Decimal('0.5'))) >>> print(cos(Decimal('0.5')))
...@@ -1743,7 +1743,7 @@ to work with the :class:`Decimal` class:: ...@@ -1743,7 +1743,7 @@ to work with the :class:`Decimal` class::
def sin(x): def sin(x):
"""Return the sine of x as measured in radians. """Return the sine of x as measured in radians.
The taylor series approximation works best for a small value of x. The Taylor series approximation works best for a small value of x.
For larger values, first compute x = x % (2 * pi). For larger values, first compute x = x % (2 * pi).
>>> print(sin(Decimal('0.5'))) >>> print(sin(Decimal('0.5')))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment