Re: Csch and 1/Sinh
- To: mathgroup at smc.vnet.net
- Subject: [mg26197] Re: Csch and 1/Sinh
- From: "David Bailey" <db at salford-software.com>
- Date: Thu, 30 Nov 2000 22:02:13 -0500 (EST)
- Organization: University of Salford, Salford, Manchester, UK
- References: <8v2sva$77i@smc.vnet.net> <8vvre0$3hu@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
<zhl67 at my-deja.com> wrote in message news:8vvre0$3hu at smc.vnet.net... > Hi, > I have posted exactly the same question several months ago and all the > response I got seem to converge to one point: trying to use the Format > function to change the looking of the output. However it didn't make > sense to me because one can only print the output of 1/Sinh as 1/sinh > (notice the case) and so output cannot be used as input in later steps > of the calculation. If you don't use the output in later steps you can > try to use Format. Cheers. > > > Sent via Deja.com http://www.deja.com/ > Before you buy. > I think you can do it if you are prepared to print using a function: printNicely[x_] := Module[{expr}, expr = x /. Csch[z_] -> 1/sinh[z]; ToBoxes[expr] /. "sinh" -> "Sinh" // DisplayForm ] David Bailey, Salford Software