added equ6.c