Should a perfect competitive firm produce if prices were less than the minimum level of
average variable cost, explain using diagram.
12 students are to pose for photographs after a social gathering at FCT. 4 students are from Lagos state, 3 are from Kano state and the remaining are from Kwara state. How many possible photographs can they take if students from the same state must stand close to one another?
The length of the bases of a trapezoid are 18 centimeters and 30 centimeters. Find the length of its median.
12 jobseekers applied for 3 available vacant positions in a company. In how many ways can the job be offered among these applicants if a particular applicant must be employed?
What is the percent by mass of O in the compound C6H12O6
Maximum Number of Books
There are multiple (T) bookstores in the area.Each shopkeeper has a list of B integers that represents the cost of each book.You have different pocket money(P) for each bookstore.Write a program to calculate the maximum number of books you can buy in each store with the corresponding pocket money.
Explanation
Given P = 600 and B = [120, 140, 110, 180, 120, 110] with a pocket money of 600, we can buy the books at index 0,1,2,4,5 , whose sum is 120+140+110+120+110 is equal to P.
Given P = 300 and B = [120 110 1300 130] with a pocket money of 300, we can buy the books at index 0,1 whose sum is 120 + 110 and is less than P.
Given P = 100 and B = [220 1000 500 2000] with pocket money of 100, we can't buy any book. So the output should be Retry.
Sample Input1
3
6 100
20 40 10 80 20 10
4 70
20 10 300 30
4 200
220 1000 500 2000
Sample Output1
5
3
Sample Input2
2
8 250
2070 1350 365 2750 30 20 140 240
4 500
1070 2893 2200 39
Sample Output2
3
1
Compare and contrast the two selection strategies used by the organizations discussed in the case.?
What are the developmental roles of Traditional and local government leaders in Namibia?
Abbey Fish Company will pay a R5.00 per share dividend next year. The company
pledges to increase its dividend by 3% per year indefinitely. If you require a 16%
return on your investment, how much will you pay for the company’s shares today.
A Telkom company bond carries an 8% coupon, paid semi-annually. The par
value is R1000, and the bond matures in six years. If the bond currently sells for
R911.37, what is its yield to maturity?