ALaplacedecompositionalgorithmisadoptedtoinvestigatenumericalsolutionsofaclassofnonlinearpartialdiferentialequationswithnonlineartermofanyorder,utt+auxx+bu+cup+du2p1=0,whichcontainssomeimportantequationsofmathematicalphysics.Threedistinctinitialconditionsareconstructedandgeneralizednumericalsolutionsaretherebyobtained,includingnumericalhyperbolicfunctionsolutionsanddoublyperiodicones.Illustrativefiguresandcomparisonsbetweenthenumericalandexactsolutionswithdiferentvaluesofpareusedtotesttheefciencyoftheproposedmethod,whichshowsgoodresultsareachieved.