← Back to team overview

aesthete-team team mailing list archive

More Trigonometric Definitions

 

Hi all,

Here is a second set of trigonometric definitions, this time involving the inverses of sin, cos, and tan.

If we're to add others (like sec et al) we'll probably need to work on the innards, since they don't seem to work out of the box (although they might in SymPy 0.7.1...)

Chris.
=== added file 'defs/acos.xml'
--- defs/acos.xml	1970-01-01 00:00:00 +0000
+++ defs/acos.xml	2011-10-27 04:01:49 +0000
@@ -0,0 +1,8 @@
+<acos type="special_function" name="acos" auto_bracket="True" title="acos(x)" mathml='acos'>
+	<info>Inverse Cosine</info>
+	<wiki>Cosine</wiki>
+	<latex>"\cos^{-1} "+self["args"].to_latex()</latex>
+	<sympy>acos(*args)</sympy>
+	<symbol>acos(x)</symbol>
+	<category>Trigonometry</category>
+</acos>

=== added file 'defs/asin.xml'
--- defs/asin.xml	1970-01-01 00:00:00 +0000
+++ defs/asin.xml	2011-10-27 04:01:58 +0000
@@ -0,0 +1,8 @@
+<asin type="special_function" name="asin" auto_bracket="True" title="asin(x)" mathml='asin'>
+	<info>Inverse Sine</info>
+	<wiki>Sine</wiki>
+	<latex>"\sin^{-1} "+self["args"].to_latex()</latex>
+	<sympy>asin(*args)</sympy>
+	<symbol>asin(x)</symbol>
+	<category>Trigonometry</category>
+</asin>

=== added file 'defs/atan.xml'
--- defs/atan.xml	1970-01-01 00:00:00 +0000
+++ defs/atan.xml	2011-10-27 04:02:43 +0000
@@ -0,0 +1,8 @@
+<atan type="special_function" name="atan" auto_bracket="True" title="atan(x)" mathml='atan'>
+	<info>Inverse Tangent</info>
+	<wiki>Trigonometric Functions</wiki>
+	<latex>"\tan^{-1} "+self["args"].to_latex()</latex>
+	<sympy>atan(*args)</sympy>
+	<symbol>atan(x)</symbol>
+	<category>Trigonometry</category>
+</atan>