Study the roots of the nonlinear equation f(x) = cos(x) + (1 /(1+ e^2x)) both theoretically and numerically. (a) Plot f(x) on theinterval x ∈ [−15, 15] and describe the overall behaviour of thefunction as well as the number and location of its roots. Use the“zoom” feature of Matlab’s plotting window (or change the axislimits) in order to ensure that you are identifying all roots – youmay have to increase your plotting point density in order to seesufficient detail!
Please provide MATLAB code as well.