The order of the differential equation whose general solution is given by y=C1+C2cosx+C3−C4ex+C5
where C1,C2,C2,C4,C5 are arbitrary constant is
Since C1+C2 is one constant C4ex+C5
=C1eC5ex
Thus there are three arbitrary constants. So the order of the differential equation is 3.