eavg = 100

edel = 10

Plot[{eavg + edel/Cos[theta], eavg - edel/Cos[theta]},{theta, 0,Pi}]