Aptitude Overflow

+1 vote

Choose the best alternative:

Two towns A and B are 100 km apart. A school is to be built for 100 students of Town B and 30 students of Town A. Expenditure on transport is Rs 1.20 per km. If the total expenditure on transport by all 130 students is to be as small as possible, then the school should be built at:

- 33 km from Town A
- 33 km from town B
- Town A
- Town B

+1 vote

Best answer

We can write the cost function as :

cost(x) = 120x + 36(100 - x)

= 120x + 3600 - 36x

= 84x + 3600

So we can see that it is a strictly increasing function hence x = 0 will give minimum cost i.e. at town B.

If we write w.r.t. town A , we get :

cost(x) = 36x + 120(100 - x)

= 12000 - 84x

So we can see that it is a strictly decreasing function hence x = 100 will give minimum cost i.e. at town B.

So , in either case we get the town B as the place where we get minimum cost.

**Hence D) should be correct option.**

2,823 questions

1,239 answers

484 comments

40,442 users