It is given that :
y=√sinx+cosx+√7x−x2−6
For y to be real,
(sinx+cosx)≥0
In I Quad, sin x and cos x both are positive.
So, 0≤x≤π2
In II Quad, sin x is positive while cos x is negative.
sinx≥cosx So, π/2≤x≤3π/4
In III Quad, sinx and cosx both are negative.
So, no value of x.
In IV Quad, sin x is negative while cos x is positive.
sinx≤cosx So, 7π/4≤x≤2π
x∈[0,3π/4]∪[7π/4,2π]-----(a)
Now,
(7x−x2−6)≥0
(x−1)(6−x) ≥0
This is possible when 1≤x≤6-----(b)
From (a) and (b),
x∈[1,3π/4]∪[7π/4,6]
On comparing with given equation, we got
p = 1; q = 3; r = 7; s = 6
So, p+q+r+s=1+3+7+6 =17
Answer=17