Answer
$$y= \tan x +1 $$
Work Step by Step
Given$$ \frac{d y}{d x}=\sec^2 x, \quad y(\pi/4)=2$$
Since :\begin{align*}
y&= \int (\sec^2 x) dx\\
&= \tan x +c
\end{align*}
at $x=\pi/4,\ \ \ y= 2 $, then $c= 1$, hence
$$y= \tan x +1 $$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.