The expression
4sin((\pi )/(8))cos((\pi )/(8))
can be rewritten as:
4sin((\pi )/(4))
4sin((\pi )/(2))
2sin((\pi )/(4))
2sin((\pi )/(8))