SOLUTION: a besieged fortress is held by 5700 men who have provisions for 66 days. of the garrison loses 20 men each day, for how many days will be provisions last?

Algebra ->  Sequences-and-series -> SOLUTION: a besieged fortress is held by 5700 men who have provisions for 66 days. of the garrison loses 20 men each day, for how many days will be provisions last?      Log On


   



Question 1190223: a besieged fortress is held by 5700 men who have provisions for 66 days. of the garrison loses 20 men each day, for how many days will be provisions last?
Found 3 solutions by ikleyn, Edwin McCravy, Solver92311:
Answer by ikleyn(52788) About Me  (Show Source):
You can put this solution on YOUR website!
.
a besieged fortress is held by 5700 men who have provisions for 66 days.
of the garrison loses 20 men each day, for how many days will be provisions last?
~~~~~~~~~~~~~~

There are 5700*66 portions of provision in the storage.


In the 1st day, 5700 portions are consumed.

In the 2nd day, 5700-20 = 5680 portions are consumed.

In the 3nd day, 5680-20 = 5660 portions are consumed.

. . . and so on . . . 


The problem wants you find the sum of the first n terms of this arithmetic progression

    S%5Bn%5D = sum%28a%5Bk%5D%2C+k=1%2Cn%29


and the number n in such a way that S%5Bn%5D = 5700*66, under an additional condition a%5Bn%5D >= 0.


The first term of this AP is 5700; the common difference is -20,  so the sum of the first n terms is

    S%5Bn%5D = %28%282%2Aa%5B1%5D+-+d%2A%28n-1%29%29%2F2%29%2An = %28%282%2A5700-20%2A%28n-1%29%29%2F2%29%2An = %28%2811420-20n%29%2F2%29%2An.


So we write this equation

    %28%2811420-20n%29%2F2%29%2An = 5700*66


Simplify 

    20n^2 - 11420n + 11400*66 = 0

      n^2 - 571 + 5700*66 = 0.


Next, apply the quadratic formula.  You will get

      n%5B1%2C2%5D = %28571+%2B-+419%29%2F2.


The value n%5B1%5D = %28571-419%29%2F2 = 76 works: it satisfies S%5Bn%5D = S%5B76%5D = 5700*66 and a%5Bn%5D >= 0.


The other value n%5B2%5D = %28571%2B419%29%2F2 = 495 does not work: a%5B495%5D = 5700-20*495 = -4200 is negative.


So, the problem is just solved, and the  ANSWER  is 76 days.

Solved.

To check, I created an MS Excel spreadsheet, generated this AP there and calculated its sum.

The check confirmed that the answer is correct.



Answer by Edwin McCravy(20056) About Me  (Show Source):
You can put this solution on YOUR website!
What a gruesome problem! (Men getting killed in war!)

Let K = the number of units of provisions (k-rations] required for 5700 
men for 66 days.

Then K/2700 = the number of units of provisions required for 1 man for 
66 days.
 
Then K/(2700•66) = the number of units of provisions required for 1 man 
for 1 day.

If nobody were killed, the sequence over 66 days would be this
obvious sum of 66 terms with all identical terms:

%22%22=%22%22K

However, 20 men are killed each day, so the sequence has more terms and
goes like this:

%22%22=%22%22K

We want to find out how many terms the sequence must have to make 
the above equation true. 

We can divide both sides by K

%22%22=%22%221

We can factor out 1%2F%285700%2A66%29

%22%22=%22%221

Suppose the sequence has N terms, then its sum is 

       S%5BN%5D=%28N%2F2%29%282a%5B1%5D%2B%28N-1%29d%29%29, where a1=2700, and d=-20

%281%2F%285700%2A66%29%29%2A%28N%2F2%29%282%2A5700%2B%28N-1%29%28-20%29%29%22%22=%22%221

Factor 20 out of the last parentheses on the left

%281%2F%285700%2A66%29%29%2A%28N%2F2%29%2820%29%282%2A285-%28N-1%29%29%22%22=%22%221

Further simplifying:

%28N%2F37620%29%28570-N%2B1%29%22%22=%22%221

N%28571-N%29%22%22=%22%2237620

571N-N%5E2%22%22=%22%2237620

-N%5E2%2B571N-37620%22%22=%22%220

N%5E2-571N%2B37620%22%22=%22%220

%28N-76%29%28N-495%29%22%22=%22%220

N-76 = 0;     N-495 = 0
   N = 76;        N = 495

495 is extraneous.

Answer 76 days.

Edwin


Answer by Solver92311(821) About Me  (Show Source):
You can put this solution on YOUR website!


If 5700 men have rations for 66 days, then there must be a total of 5700 times 66 or 376200 rations available.

On the first day, 5700 rations are used, but on the second day, 20 less are used, and on the third day, 20 less than that.

The total rations used is given by:



This is an arithmetic sequence where the first term is , the common difference is , there are terms (zero start), and the last term is .

Applying the formula for the sum of an arithmetic series:



Set this equal to the known total rations:



And solve the quadratic for the smaller root

John

My calculator said it, I believe it, that settles it

From
I > Ø