Answer
a) $y'' = cosecx(cot^{2}x +cosec^{2}x)$
b) $y'' = secx(tan^{2}x + sec^{2}x)$
Work Step by Step
a)
$y = cosecx$
$y' = -cosecx\ cotx$
$y'' = cosecx\ cot^{2}x + cosec^{3}x$
$y'' = cosecx(cot^{2}x +cosec^{2}x)$
b)
$y = secx$
$y' = secx\ tanx$
$y'' = secx\ tan^{2}x + sec^{3}x$
$y'' = secx(tan^{2}x + sec^{2}x)$