• edited by
728 views
3 3 votes
A cook has a kitchen at the top of a hill, where she can prepare rotis. Each roti costs one rupee to prepare. She can sell rotis for two rupees a piece at a stall down the hill. Once she goes down the steep hill, she can not climb back in time make more rotis.

Suppose the cook starts at the top with $R$ rupees. What are all the possible amounts of money she can have at the end?

2 Answers

2 2 votes

cook starts at the top with=R Rupees

Let No. of prepared rotis=X 

Each roti costs to prepare = 1 Rupee

Cost of X rotis = X rupees

Selling Price of X roties =2*X

 possible amounts of money she can have at the end =R - X +2 X = R+X

Position:
Show:

Related questions

2 2 votes
2 2 answers
1.0k
1.0k views
go_editor asked May 27, 2016
1,019 views
A cook has a kitchen at the top of a hill, where she can prepare rotis. Each roti costs one rupee to prepare. She can sell rotis for two rupees a piece at a stall down th...
3 3 votes
1 1 answer
917
917 views
go_editor asked May 27, 2016
917 views
There is a thin, long and hollow fibre with a virus in the centre. The virus occasionally becomes active and secretes some side products. The fibre is so thin that new si...
4 4 votes
2 2 answers
1.3k
1.3k views
go_editor asked May 27, 2016
1,293 views
Consider the code below, defining the functions $f$ and $g$:f(m, n) { if (m == 0) return n; else { q = m div 10; r = m mod 10; return f(q, 10*n + r); } } g(m, n) { if (n ...
5 5 votes
2 2 answers
1.0k
1.0k views
go_editor asked May 27, 2016
1,005 views
Consider the code below, defining the functions $f$ and $g$:f(m, n) { if (m == 0) return n; else { q = m div 10; r = m mod 10; return f(q, 10*n + r); } } g(m, n) { if (n ...