Final answer:
To solve the initial-value problem dy/dx = sec² t - sin t, with y(π/4) = 1, we integrate the equation and solve for the constant C, with the final solution being y = tan t + cos t + 1 - (√2/2 +1).
Step-by-step explanation:
To solve the initial-value problem dy/dx = sec² t - sin t, y(π/4) = 1, we must integrate the right side of the equation to find y. Upon doing so, we get:
- ∫ydx = ∫(sec² t - sin t)dt
- y = tan t + cos t + C
- Since y(π/4) = 1, we substitute t = π/4 and y = 1 to find C.
- 1 = tan(π/4) + cos(π/4) + C => 1 = 1 + √2/2 + C
- C = 1 - (√2/2 +1)
- Therefore, y = tan t + cos t + 1 - (√2/2 +1)
Note that the variable 't' is used instead of 'x' in the given differential equation, which suggests it may be a function of another variable. It is important to remain consistent with variable names when solving differential equations.