Example 27 Find the value of tan π/8 .