Generalised wave equations: solution of certain types of differential equations which are generalisations of the usual wave equations