5.1 How to convert Mathematica expression to Maple?

restart; 
with(MmaTranslator); #load the package 
FromMma(`Integrate[Cos[x],x]`);
 

Or

restart; 
with(MmaTranslator); #load the package 
convert(`Integrate[Cos[x],x]`, FromMma);