When a function which is continuously differentiable is defined on a closed interval, we can find the minima and maxima by finding where the first derivative is 0 as well as checking the values at the endpoint.
f(θ) = 7θ - 8 sin(θ)
f'(θ) = 7 - 8 cos(θ)
8 cos(θ) = 7
cos(θ) = 7/8
As cos(θ) ranges from 0 to 1 in the first quadrant, there will be a solution.
As we are in the first quadrant, sin(θ) will be non-negative.
Then, when cos(θ) = 7/8, sin(θ) = √(1 - (7/8)2) = √(15/64) = 1/8 √15
The second derivative is 8 sin(θ). Thus, the second derivative is positive in the interior of the interval, so the function will be a minimum where cos(θ) = 7/8
θ = cos-1(7/8)
Then, the minimum is 7 cos-1(7/8) - 8 * 1/8 √15 or 7 cos-1(7/8) - √15 = -0.335459774218317
The maximum will be at one of the 2 endpoints.
f(0) = 7 * 0 + 8 * sin(0) = 7 * 0 + 8 * 0 = 0
f(π/2) = 7 * π/2 - 8 * sin(π/2) = 7 π/2 - 8 * 1 = 7 π/2 - 8 is approximately 2.99557428756428
The maximum is 7 π/2 - 8, which is approximately 2.99557428756428
The minimum is 7 cos-1(7/8) - √15, which is approximately -0.335459774218317