Double-angle Identities and Half-angle Identities