where k,m, and n are positive integers with m and n relatively prime, find k+m+n.
解析
Solution 1
From the givens, 2sintcost+2sint+2cost=21, and adding sin2t+cos2t=1 to both sides gives (sint+cost)2+2(sint+cost)=23. Completing the square on the left in the variable (sint+cost) gives sint+cost=−1±25. Since ∣sint+cost∣≤2<1+25, we have sint+cost=25−1. Subtracting twice this from our original equation gives (sint−1)(cost−1)=sintcost−sint−cost+1=413−10, so the answer is 13+4+10=027.
Solution 2
Let (1−sint)(1−cost)=x. Multiplying x with the given equation, 45x=(1−sin2t)(1−cos2t)=sin2tcos2t, and 25x=sintcost. Simplifying and rearranging the given equation, sint+cost=45−(sin2t+cos2t)−sintcost=41−25x. Notice that (1+sint)(1+cost)−2(sint+cost)=x, and substituting, x=45−2(41−25x)=43+5x. Rearranging and squaring, 5x=x2−23x+169, so x2−213x+169=0, and x=413±10, but clearly, 0≤x<4. Therefore, x=413−10, and the answer is 13+4+10=027.
Solution 3
We want 1+sintcost−sint−cost. However, note that we only need to find sint+cost.
Let y=sint+cost→y2=sin2t+cos2t+2sintcost=1+2sintcost