Post Reply 
CAS: Hyperbolic Functions, assume (Beta)
12-09-2019, 12:02 PM
Post: #8
RE: CAS: Hyperbolic Functions, assume (Beta)
Quote:='CyberAngel' pid='124776' dateline='1575883660'
Assign 'sincos' into a key in the User mode

Im using the function on cas command line
Code:
#cas
ss(x):=(subst(x,exp,cosh+sinh));simplify(sincos(x))
#end

It use a substitution for real exp and sincos function for complex exp

Code:
ss((e^x-e^(-x))/2)
Gives
sinh(x)
And
Code:
ss(1/2*((-(i))*e^(i*x)+i*e^((-(i))*x)))
Gives
sin(x)
Simplification set to maximum
Still, it would be better built in.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CAS: Hyperbolic Functions, assume (Beta) - Stevetuc - 12-09-2019 12:02 PM



User(s) browsing this thread: 2 Guest(s)