Define Rn to be the maximum amount earned by cutting a rod of length n meters into one or more pieces of integer length and selling them. For i > 0, let p[i] denotes the selling price of a rod whose length is i meters. Consider the array of prices: p[1] = 1, p[2] = 5, p[3] = 8, p[4] = 9, p[5] = 10, p[6] = 17, p[7] = 18 Which of the following statements is/are correct about R7?

Define Rn to be the maximum amount earned by cutting a rod of length n meters into one or more pieces of integer length and selling them. For i > 0, let p[i] denotes the selling price of a rod whose length is i meters. Consider the array of prices: p[1] = 1, p[2] = 5, p[3] = 8, p[4] = 9, p[5] = 10, p[6] = 17, p[7] = 18 Which of the following statements is/are correct about R7? Correct Answer R<sub>7</sub> = 18, R<sub>7</sub> is achieved by three different solutions.

Data:

p = 1, p = 5, p = 8,

p = 9, p = 10, p = 17, p = 18

Calculation: 

R7= max amount and length can be integer 

Pieces

Amount

1, 1, 1, 1, 1, 1, 1

7

1, 1, 1, 1, 1, 2

10

1, 1, 1, 1, 3

12

1, 1, 1, 4

12

1, 1, 5

12

1, 6

18

1, 1, 2, 3

15

1, 3, 3

17

1,2,4

15

2, 2, 3

18

7

18

maximum cost possible is 18 and there are 3 solutions for R7.

Related Questions

A statement is given below in the question followed by three courses of actions numbered I, II and III. On the basis of the information given, you have to assume everything in the statement to be true, and then decide which of the following suggested courses of actions logically follow(s) for pursuing. Statement: Hindustan Unilever and Nestlé plan to selectively increase prices of their products to take into account higher crude oil and petrol costs, the rupee’s depreciation against the dollar and more expensive commodities such as wheat. If crude remains where it is and if the rupee has depreciated, of course, there are headwinds as far as costs are concerned. I. Nestlé India’s logistics providers are looking to renegotiate rates after record-high petrol and diesel prices. Nestlé declined to comment on when and by how much prices would increase.  II. Nestlé commented that HUL had dropped prices in November after the Goods & Services Tax was introduced last year and an increase in prices now would likely not hurt consumers.  III. Petrol prices have crossed Rs 90 a litre in Mumbai on increasing global prices of crude oil, of which India is a net importer, further impacted by the falling rupee. Crude derivatives, which are key inputs for FMCG companies, and petroleum derivatives used in packaging material including bottles and tubes, have also become more expensive.
A teacher asked the class to subtract 5 from 75.70% of the class said: 25. Their work was shown as: \(\begin{array}{*{20}{c}} {\begin{array}{*{20}{c}} 7&5 \end{array}}\\ {\underline {\begin{array}{*{20}{c}}\ { - 5} \ \ \ &{} \end{array}} }\\ {\underline {\begin{array}{*{20}{c}} 2&5 \end{array}} } \end{array}\) Which of the following describes the most appropriate remedial action that the teacher should take to clarify this misconception?
Consider the given question and decide which of the following statements is sufficient to answer the question. How much did Mr. X earn in the year 2000? Statements: 1. Mr. X earned ₹ 7.000 in 2003, which is 10% more than what he earned in 2000. 2. Mrs. Y, Mr. X's wife, earned half of the amount Mr. X earned, and they together earned ₹ 9.000 in 2000.