A farmer has 3000 apples he want to sell them in the market which is 1000km away his camel have some sarta that he will take only 1000 apples in one go he will eat 1 apple in every km how many apples left
Answers
Answer:
At KM#0, we have 3000 bananas. The maximum bananas the camel can carry is 1000 so the camel must at least make 3 trips from the start point. (Leave #0, Return to #0, Leave #0, Return to #0, Leave #0).
If we move just 1km, we need 1 banana for each step mentioned above thus making a total of5 bananas for each km.
We continue making 3 trips until we reach a banana count of 2000.
3000 – 5*d = 2000 => d = 200
At #200km, we will have 2000 bananas
At this point, we only need to make 2 trips (Leave #200, Return to #200, Leave #200). This will cost 1 banana for each step thus making a total of 3 bananas for each km.
We continue making 2 trips until we reach a banana count of 1000.
2000 – 3*d = 1000 => d = 333km
At#(200+333) = #534km, we will have 998 bananas
At this point, we need to make one trip so the camel just carries everything and marches toward the market.
Remaining km = 1000 – 534 = 466km. Bananas needed = 466.
Therefore, the bananas remaining once the camel reaches the market is 998 – 466 = 532 bananas.
EDIT: There's something more. Instead of 998, you can use full 1000 bananas if partial eating is allowed.
The first 1000 bananas are used to move the heap to the 200km point (since you need three trips, you need to go there three times, and return two to the farm two times: 3*200+2*200=1000). Then, the next 1000 bananas move the heap another 333⅓km further (two trips forward, one trip back: 2*333⅓+333⅓=1000).
Now you are 466⅔km away from the market with a thousand bananas left, so you make a dash for it, and you arrive with 533⅓ bananas after nine trips and 2466⅔km traveled.