temp is a function of x and z,
temp = Cos[x]^2Cosh[z]Sinh[z] - 1/8 Cos[x]^3 Cosh[z]^2 Sinh[z] - 1/2 Cosh[z] Sin[x]^2 Sinh[z];
How to do TrigReduce temp in respect to x and z respectively? For example, is there any method to define a fuction,
fuc[temp] = 3/128 Cos[x] Sinh[z] - 1/128 Cos[3 x] Sinh[z] + 1/8 Sinh[2 z] + 3/8 Cos[2 x] Sinh[2 z] - 3/128 Cos[x]Sinh[3 z] - 1/128 Cos[3 x] Sinh[3 z]
Thank you very much!