$ = [\tan x - \sec x]_0^\pi = [\tan \pi - \sec \pi + 1] $
$= [0 + 1 + 1] = 2$.
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.