Problem : Compute 2 cos(x) - 3exdx.

Use the addition and multiplication by a constant rules for integration:


2 cos(x) - 3exdx=2cos(x)dx - 3exdx  
 =2 sin(x) - 3ex + C  

where C is an arbitrary constant.