A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two dimensional 3 × 7 array, where each row represents a different monkey and each column represents a different day of the week. The program should first have the user input the data for each monkey. Then it should create a report that includes the following information: I. Average amount of food eaten per day by the whole family of monkeys. II. The least amount of food eaten during the week by any one monkey. III. The greatest amount of food eaten during the week by any one monkey. Input Validation: Do not accept negative numbers for pounds of food eaten.
What is the probability that two female students will be selected at random, one after the other, to participate in a research project from a class of 7 male and 3 female students?
Write a program that will predict the size of a population of red ants. The program should ask the user for the starting number of red ants e.g. 2,000,000, their average daily population increase as a percentage of current population e.g., 5%, and the number of days they will multiply e.g. 10 days. Use a do while to display the size of the population for each day. Draw a flow chart and write down a pseudo code before attempting this number. Input Validation: Do not accept a number less than two for the starting size of the population. Do not accept a negative number for average daily population increase. Do not accept a number less than one for the number of days they will multiply.
Every cereal box has a gift inside, but you cannot tell from the outside what the gift is. The store manager assures you that 12 of the 57 boxes on the shelf have the secret decoder ring. The other 45 boxes on the shelf have a different gift inside. If you randomly select two boxes of cereal from the shelf to purchase, what is the probability that BOTH of them have the secret decoder ring?
You are considering an annuity which would offer payments $ 5000 at the end of every three months for 20 years. Interest is compounded quarterly at a nominal rate of 8.8%. Which of the changes would increase the amount that you would pay for this annuity today?
With the help of Venn diagram and membership table prove:
(AUB)-C = (A-C)U(B-C)
In a large population, 58% of the people have been vaccinated. If 5 people are randomly selected, what is the probability that at least one of them has been vaccinated?
An amount of money is invested at 8% interest per year, compounded quarterly. After a number of years, the
accumulated amount in the account is R7 365,00. The investment earned R2 000,00 interest in this period.
If the accumulated amount is left in the account (the interest rate remains the same) for another period that
is one year longer than the first period, the accumulated amount in the account will then be
A sum of R8 000,00 is lent in the beginning of a year at a certain simple rate of interest. After eight months,
in a different loan, a sum of R1 164,00 more is lent but at the simple interest rate twice the former. At the
end of the year, R903,00 is earned as simple interest from both the loans. The original simple yearly rate of
interest, rounded to two decimal places, is
A local high school needs to hire several cafeteria workers and bus drivers. Cafeteria workers earn R13 800
per month and bus drivers earn R17 250 per month. The school board gave the school permission to spend
no more than R345 000 on the salaries per month, but must hire more than 15 people.
Let B represent the number of bus drivers hired.
Let C represent the number of cafeteria workers hired.
For every bus driver hired there must be at least two cafeteria workers hired. The number of cafeteria
workers must at most be three more than twice the number of bus drivers.
Write a system of linear inequalities that the school could use to determine the number of cafeteria workers
and bus drivers they can hire