trigonometry


Replacing trigonometric functions in Sympy


I am trying to use Sympy to simplify some trigonometry. I realize that Sympy has a mature set of tools for dealing with this, so it seems like I must be missing something. However, I have spent a lot of time searching and can't seem to find exactly what I am looking for.
Question: How do you expand a simple trig function into its complex components?
MWE:
x = Symbol('x',real=True)
# The following works. Note that it expands cmplx functions into trig fncs
exp(I*x).expand(complex=True)
# Now try to go the other way
expand(sin(x)) #nope
expand_trig(sin(x)) #nope
expand(sin(x),complex=True) #nope
expand_complex(sin(x)) #nope
I also tried replace, rewrite, and xreplace, but didn't get anywhere.

Related Links

Need help revising a simple formula to make it universal
SWIFT trig functions
Simplifying atan(tan(a+b))
2 Different Radians constant calcuations whats the difference?
Trigonometry & Sunset
Calculating collisions with Radians incrementing
How do arbitrary-precision libraries like mpmath evaluate simple trigonometric functions?
How can I calculate the angle
Finding Shortest Distance Between Two Parallel Lines, With Arbitrary Point [closed]
how to convert depth in Z-cordinate
How can I simplify this expression with trigonometric in Maple?
Require trigonometry assistance with ship/wave movement
Trigonometry - Find where two curves intersect
How to calculate point 'along' unit circle radian [closed]
Issues with bullet entry points for “shoulder mounted” guns
Using the coordinates of two of a triangle's vertices to calculate the coordinates of the third

Categories

HOME
httparty
depth
swt
yahoo-finance
sh
sublimetext
cublas
vxml
data-visualization
angularfire2
opengl-3
qpython
ibeacon-android
ipmitool
rtf
event-sourcing
alpacajs
forgot-password
asp.net-mvc-viewmodel
sar
google-maps-autocomplete
rubymotion
gulp-watch
monit
onload
gpio
jackson-modules
flooding
firebase-analytics
datastax-enterprise-graph
carrierwave
mql
alm
wacom
mailkit
hard-drive
contacts
gnat-gps
salesforce-communities
imagenet
attributeerror
android-exoplayer
vugen
zenhub
azure-cli
appdomain
context-sensitive-grammar
skin
offline.js
cd-burning
swingworker
reachability
usart
microstation
delta
kango-framework
sklearn-pandas
relativelayout
dynamics-nav-2016
opl
lazybones
opserver
binomial-theorem
mirror
shopizer
execve
angular-gettext
mruby
renderer
high-resolution
hibernate-entitymanager
ebay-lms
script#
epiceditor
windows-98
cardreader
onmousemove
subproject
mapping-by-code
predicatebuilder
koken
kqueue
cgimage
jquery-address
apache-commons-dbutils
clrstoredprocedure
dataform
django-paypal
socketserver
cac
non-clustered-index
maven-1
nstokenfield
burndowncharts
change-management

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App