> How do I tell Maxima not to use sinh() in the output. Instead I want
> exp() only. How to simplify sinh() into expression with exp().
The function exponentialize converts trig-like functions to exponential form; for example
(%i127) exponentialize(sinh(x));
(%o127) (%e^x-%e^(-x))/2
To do this automatically, set the option variable exponentialize to true:
(%i1) exponentialize : true;
(%o1) true
(%i2) 42 + sinh(a) + sinh(sqrt(x));
(%o2) (%e^sqrt(x)-%e^(-sqrt(x)))/2+(%e^a-%e^(-a))/2+42
Setting exponentialize to true will convert all trig-like functions to exponential form.
And yes, exponentialize is both an option variable and a function.
If you want to convert just sinh to exponential form (and not the other trig-like functions), you'll need to use tellsimpafter:
(%i1) matchdeclare(z, lambda([s],true))$
(%i3) block([exponentialize : false], tellsimpafter(sinh(z), exp(z)/2 - exp(-x)/2))$
(%i5) sinh(a+b) - cosh(c);
(%o5) -%e^(-x)/2-cosh(c)+%e^(b+a)/2
--Barton
________________________________________