Long wave generation and behavior on a plane sloping beach