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

Shift angle orientation using atan2
estimate angle between two lines y = 1000x and y = 999x
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]

Categories

HOME
sonarqube
angular2-material
requirements
vscode-extensions
pdfbox
barcode
p2p
fabric.io
gson
spring-social
stellar.js
docx
dynamic-sql
atlassian-stash
null-pointer
firefox-addon
asp.net-mvc-viewmodel
wolframalpha
imessage
swagger-2.0
drive
asciidoctor-pdf
dataflow-diagram
expressionengine3
windows-server-2003
interbase
asymptotic-complexity
quantlib
cppreference
testcomplete
livelink
erb
clickjacking
github3.py
biztalk-rule-engine
keras-layer
hibernate-search
nested-lists
arduino-ide
google-earth-engine
xdocreport
metaprogramming
linq-to-objects
metawidget
typesafe-config
setup.py
preloader
plr
berkeley-db-je
clang++
builder
automapper-5
cnc
reportservice2010
dbcontext
qtranslate
java-bytecode-asm
oracleclient
seq
lsyncd
juice-ui
webjars
expectations
php-socket
createprocess
html-to-pdf
aspen
cycle2
atan2
themoviedb-api
pypiserver
lazybones
forwarding
morton-number
poppler
opserver
.bash-profile
iced-coffeescript
wso2greg
snoop
git-ftp
administration
lambda-architecture
template-deduction
functional-java
winginx
koala
scriptaculous
process-explorer
cascadingdropdown
sqlclr
qi4j
paginator
jquery-address
agility.js
relative
expression-blend-4
android-holo-everywhere
jqote
cloudfiles
nhprof
updatesourcetrigger
jqueryform
django-piston
lxr
lalr
web-application-project
linfu-dynamicproxy
flvplayback
product-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