integrate:cosx+2/cosx+sinx

http://www.integral-calculator.com/

Be certain to use parenthesis in your typing, the above is very confusing as to what you mean.