serial wave equation