adding some equations to problem 3