| Product | Cereal Name | Manufacturer | Calories | Sodium | Fiber | Carbs | Sugars | Cost/box | Weight/OZ | Protein | Cholesterol | |
| 53 | Rice Chex | Ralston Purina | 110 | 240 | 0 | 11 | 2 | 2.3 | 16 | 2 | 1 | |
| 54 | Rice Krispies | Kellogg | 110 | 290 | 0 | 12 | 3 | 2.4 | 16 | 2 | 2 | |
| 30 | Golden Grahams | General Mills | 110 | 280 | 0 | 16 | 9 | 2.5 | 16 | 2 | 1 | |
| 64 | Trix | General Mills | 110 | 140 | 0 | 18 | 12 | 1.35 | 18 | 2 | 3 | |
| 18 | Count Chocula | General Mills | 110 | 180 | 0 | 21 | 13 | 2.8 | 18 | 2 | 2 | |
| 61 | Total Corn Flakes | General Mills | 110 | 200 | 0 | 12 | 3 | 1.54 | 14 | 3 | 2 | |
| 39 | Kix | General Mills | 110 | 260 | 0 | 12 | 3 | 2.65 | 12.5 | 3 | 0 | |
| 48 | Puffed Rice | Quaker | 50 | 0 | 0 | 13 | 0 | 1.8 | 12 | 3 | 2 | |
| 44 | Nut & Honey Crunch | Kellogg | 120 | 190 | 0 | 15 | 9 | 2.4 | 14.5 | 3 | 0 | |
| 34 | Honey Comb | Post | 110 | 180 | 0 | 17 | 11 | 3.1 | 12 | 3 | 2 | |
| 29 | Fruity Pebbles | Post | 110 | 135 | 0 | 18 | 12 | 2.3 | 13 | 3 | 0 | |
| 41 | Lucky Charms | General Mills | 110 | 180 | 0 | 19 | 12 | 3.1 | 15.4 | 3 | 0 | |
| 10 | Cap'n'Crunch | Quaker | 120 | 220 | 0 | 20 | 12 | 1.8 | 18 | 3 | 0 | |
| 12 | Cinnamon Toast Crunch | General Mills | 120 | 210 | 0 | 15 | 9 | 3.3 | 16 | 4 | 1 | |
| 15 | Corn Chex | Ralston Purina | 110 | 280 | 0 | 12 | 3 | 2.6 | 14.5 | 5 | 0 | |
| 14 | Cocoa Puffs | General Mills | 110 | 180 | 0 | 21 | 13 | 2.9 | 14 | 5 | 2 | |
| 20 | Cream of Wheat | Nabisco | 100 | 80 | 1 | 10 | 0 | 3.1 | 14 | 1 | 1 | |
| 21 | Crispix | Kellogg | 110 | 220 | 1 | 12 | 3 | 2.1 | 14 | 1 | 2 | |
| 37 | Just Right Crunchy Nugget | Kellogg | 110 | 170 | 1 | 14 | 6 | 3 | 14 | 1 | 2 | |
| 17 | Corn Pops | Kellogg | 110 | 90 | 1 | 18 | 12 | 2.4 | 18 | 2 | 0 | |
| 24 | Froot Loops | Kellogg | 110 | 125 | 1 | 21 | 13 | 2.8 | 14 | 2 | 0 | |
| 49 | Puffed Wheat | Quaker | 50 | 0 | 1 | 5 | 0 | 3 | 14 | 3 | 0 | |
| 25 | Frosted Flakes | Kellogg | 110 | 200 | 1 | 17 | 11 | 2.4 | 18 | 3 | 0 | |
| 6 | Apple Jacks | Kellogg | 110 | 125 | 1 | 21 | 14 | 3.1 | 12 | 3 | 0 | |
| 58 | Smacks | Kellogg | 110 | 70 | 1 | 23 | 15 | 2.54 | 12.5 | 3 | 0 | |
| 59 | Special K | Kellogg | 110 | 230 | 1 | 12 | 3 | 2 | 18 | 4 | 0 | |
| 47 | Product 19 | Kellogg | 100 | 320 | 1 | 13 | 3 | 2.6 | 18 | 4 | 1 | |
| 23 | Double Chex | Ralston Purina | 100 | 190 | 1 | 13 | 5 | 3.5 | 14 | 4 | 0 | |
| 4 | Almond Delight | Ralston Purina | 110 | 200 | 1 | 15 | 8 | 2.3 | 14 | 4 | 0 | |
| 35 | Honey Graham Ohs | Quaker | 120 | 220 | 1 | 17 | 11 | 1.97 | 12 | 4 | 1 | |
| 16 | Corn Flakes | Kellogg | 100 | 290 | 1 | 11 | 2 | 1.8 | 12.5 | 6 | 0 | |
| 67 | Wheaties Honey Gold | General Mills | 110 | 200 | 1 | 15 | 8 | 2 | 14 | 6 | 1 | |
| 5 | Apple Cinn Cheerios | General Mills | 110 | 180 | 1.50 | 17 | 10 | 3.2 | 18 | 2 | 0 | |
| 36 | Honey Nut Cheerios | General Mills | 110 | 250 | 1.50 | 17 | 10 | 2.33 | 14 | 3 | 1 | |
| 45 | Oatmeal Raisin Crisp | General Mills | 130 | 170 | 1.50 | 17 | 10 | 2.3 | 14.5 | 4 | 2 | |
| 40 | Life | Quaker | 100 | 150 | 2 | 14 | 6 | 2.65 | 12.5 | 2 | 0 | |
| 11 | Cheerios | General Mills | 110 | 290 | 2 | 10.50 | 1 | 2.2 | 16 | 3 | 0 | |
| 38 | Just Right Fruit &Nut | Kellogg | 140 | 170 | 2 | 15 | 9 | 2.87 | 14.3 | 3 | 0 | |
| 22 | Crispy Wheat & Raisins | General Mills | 100 | 140 | 2 | 16 | 10 | 3.6 | 14 | 3 | 0 | |
| 50 | Quaker Oat Squares | Quaker | 100 | 135 | 2 | 14 | 6 | 2.6 | 14 | 5 | 0 | |
| 43 | Multi-Grain Cheerios | General Mills | 100 | 220 | 2 | 14 | 6 | 2.3 | 14.5 | 5 | 0 | |
| 13 | Clusters | General Mills | 110 | 140 | 2 | 15 | 7 | 2.3 | 18 | 5 | 1 | |
| 7 | Basic 4 | General Mills | 130 | 210 | 2 | 15 | 8 | 1.9 | 14 | 5 | 1 | |
| 52 | Raisin Squares | Kellogg | 90 | 0 | 2 | 13.50 | 6 | 2.3 | 18 | 6 | 0 | |
| 56 | Shredded Wheat | Nabisco | 80 | 0 | 3 | 7 | 0 | 1.86 | 14 | 1 | 1 | |
| 33 | Great Grains Pecan | Post | 120 | 75 | 3 | 13 | 4 | 2 | 14 | 1 | 0 | |
| 31 | Grape Nuts Flakes | Post | 100 | 140 | 3 | 13 | 5 | 1.76 | 16 | 1 | 1 | |
| 32 | Grape-Nuts | Post | 110 | 170 | 3 | 11 | 3 | 1.94 | 16.6 | 2 | 0 | |
| 63 | Total Whole Grain | General Mills | 100 | 200 | 3 | 11 | 3 | 3 | 12.5 | 2 | 2 | |
| 60 | Strawberry Fruit Wheels | Nabisco | 90 | 15 | 3 | 13 | 5 | 3.3 | 18 | 2 | 2 | |
| 55 | Shrdded Wht Spn Size | Nabisco | 90 | 0 | 3 | 8 | 0 | 1.76 | 18 | 3 | 1 | |
| 26 | Frosted Mini-Whests | Kellogg | 100 | 0 | 3 | 14 | 7 | 2.4 | 18 | 4 | 1 | |
| 42 | Mueslix Crispy Blend | Kellogg | 160 | 150 | 3 | 21 | 13 | 1.9 | 12 | 4 | 1 | |
| 66 | Wheaties | General Mills | 100 | 200 | 3 | 11.50 | 3 | 1.98 | 14 | 5 | 2 | |
| 65 | Wheat Chex | Ralston Purina | 100 | 230 | 3 | 12 | 3 | 1.65 | 16.5 | 5 | 3 | |
| 57 | Shredded Wheat n Bran | Nabisco | 90 | 0 | 4 | 9 | 0 | 2.65 | 14.5 | 1 | 1 | |
| 8 | Bran Chex | Ralston Purina | 90 | 200 | 4 | 14 | 6 | 2.25 | 14 | 1 | 2 | |
| 19 | Cracklin' Oat Bran | Kellogg | 110 | 140 | 4 | 15 | 7 | 2.7 | 14 | 3 | 1 | |
| 62 | Total Raisin Bran | General Mills | 140 | 190 | 4 | 22 | 14 | 2 | 14 | 4 | 1 | |
| 27 | Fruit & Fibre | Post | 120 | 160 | 5 | 16 | 10 | 3.1 | 14.5 | 2 | 1 | |
| 28 | Fruitful Bran | Kellogg | 120 | 240 | 5 | 20 | 12 | 3.6 | 14 | 2 | 0 | |
| 9 | Bran Flakes | Post | 90 | 210 | 5 | 13 | 5 | 1.9 | 14.5 | 4 | 1 | |
| 51 | Raisin Bran | Kellogg | 120 | 210 | 5 | 20 | 12 | 2.6 | 14.5 | 5 | 0 | |
| 46 | Post Nat. Raisin Bran | Post | 120 | 200 | 6 | 22 | 14 | 2.8 | 14 | 3 | 1 | |
| 2 | AlI-Bran | Kellogg | 70 | 260 | 9 | 13 | 5 | 3.5 | 15.4 | 4 | 2 | |
| 1 | 100% Bran | Nabisco | 70 | 130 | 10 | 14 | 6 | 3 | 16 | 4 | 1 | |
| 3 | All-Bran w/Extra Fiber | Kellogg | 50 | 140 | 14 | 10 | 0 | 2.2 | 14.5 | |||
2. Draw appropriate charts of your choice on 7 selected cereal brands for the amount of their Calories, Sugar, and Sodium used in their cereal.
6. Randomly select 30 Cereal Brands as your samples. Describe your sampling method. (EXCEL)
In: Statistics and Probability
The statements in this question are based on the following data:
X 2:6 2:6 3:2 3:0 2:4 3:7 3:7 PX D 21:2 Y 5:6 5:1 5:4 5:0 4:0 5:0
5:2 PY D 35:3The correlation coefficient .r/ was calculated as
0:327: Identify the incorrect statement.
1. There is a positive relationship between x and y. 2. N y D 5:043
3. The coefficient of determination is 0:5719:
4. The regression coefficient b1 is also positive.
5. Only 10.7% of the variation in y is explained by the variation
in x:
In: Statistics and Probability
Using a vector of integers that you define.
Write a C++ program to run a menu driven program with the following choices:
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Make sure your program conforms to the following requirements:
2. Write a function called getValidAge that allows a user to enter in an integer and loops until a valid number that is >= 0 and < 120 is entered. It returns the valid age. (5 points).
3. Write a function called displayAges that takes in a vector of integers as a parameter and displays the ages in the format in the sample run below. (10 points).
4. Write a function called AddAge that takes in a vector of integers by reference as a parameter, asks the user to input a valid age, and adds it to the vector of integers . (15 points).
5. Write a function called getAverageAge that takes in a vector of integers as a parameter, computes, and returns the average age. (15 points).
6. Write a function called getYoungestAge that takes in a vector of integers as a parameter, computes, and returns the youngest age. (15 points).
7. Write a function called getNumStudentsVote that takes in a vector of integers as a parameter, computes, and returns the number of ages in the vector that are >= 18. (15 points).
8. Write a function called RemoveStudentsLessThanSelectedAge that takes in a vector of integers as a parameter, asks the user for an age, creates a new vector of integers that only contains the ages in the parameter vector which are >= the age selected by the user and returns the new vector. (20 points).
9. Add comments wherever necessary. (5 points)
NOTE: You must take care of the case when the vector is empty and an operation is being performed on it. In such cases the program should display a 0 for the given result.
Sample Runs:
NOTE: not all possible runs are shown below.
Welcome to the students age in class program!
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..1
Student ages:
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..3
Average age = 0
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..4
Youngest age = 0
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..5
Number of students who can vote = 0
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..6
Please enter in the age...
5
Students removed
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..2
Please enter in the age...
4
Age added
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..2
Please enter in the age...
24
Age added
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..2
Please enter in the age...
18
Age added
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..2
Please enter in the age...
12
Age added
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..1
Student ages:
4 24 18 12
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..3
Average age = 14
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..4
Youngest age = 4
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..5
Number of students who can vote = 2
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..6
Please enter in the age...
15
Students removed
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..1
Student ages:
24 18
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..3
Average age = 21
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..4
Youngest age = 18
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..5
Number of students who can vote = 2
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..-8
Select an option (1..7)..8
Select an option (1..7)..1
Student ages:
24 18
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..2
Please enter in the age...
-8
Please enter in a valid age (1-120) ...
130
Please enter in a valid age (1-120) ...
55
Age added
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..1
Student ages:
24 18 55
1) Display the ages
2) Add an age
3) Display the average age
4) Display the youngest age
5) Display the number of students who can vote
6) Remove all students less than a given age
7) Quit
Select an option (1..7)..7
Process finished with exit code 0
In: Computer Science
1. a.) determine vector and parametric equations for the line through the point A(2, 5) with direction vector = (1, −3).
b.)Determine a vector equation for the line through the points (-1, 4) and (2, -1).
c.) Determine parametric equations for the line through (-2, 3) and parallel to the line with vector equation = (−2, 1) + t(6, 4).
d .) A line passes through the point (-4, 1) and is perpendicular to the line with parametric equations x = -2 -3t, y = 1 + 2t. Find vector and parametric equations for the line.
e.) Find vector and parametric equations for the line with equation 2x + y + 3 = 0.
f.) Determine a scalar equation for the line that passes through the point (-1, 5) and has direction vector = (1, −3).
g.) Determine parametric equations for the line with scalar equation 4x – y + 5 = 0.
h.) Determine a scalar equation for the line with vector equation = (−3, 1) + t(2, 5).
i.) A line passes through the point (1, -4) and is perpendicular to the line 3x + 2y – 6 = 0. Determine a scalar equation for the line.
j.) Use a vector solution to show that a scalar equation for the line through the points P1(x1, y1) and P2(x2, y2) is
In: Math
At a lovely Sunday picnic you impress your partner by discussing the core concept of risk versus return. You explain that when investments are diversified across different asset classes the overall risk profile of the portfolio is improved. You continue by explaining that there are numerous types of risk. Which of the following are examples of unsystematic risk?
(1) Financial risk (due to the company’s excess leverage)
(2) Loss of market share
(3) Interest rate risk
(4) Business-cycle risk
| a. |
2 and 3 |
|
| b. |
1 and 2 |
|
| c. |
2 and 4 |
|
| d. |
1 and 4 |
In: Finance
Compute cost of goods sold, assuming Kingbird uses:
| 1.Perpetual system, FIFO cost flow |
2.Perpetual system, LIFO cost flow
3.
| Perpetual system, moving-average cost flow |
Kingbird Company is a multi product firm. Presented below is
information concerning one of its products, the Hawkeye.
|
Date |
Transaction |
Quantity |
Price/Cost |
|||
| 1/1 | Beginning inventory | 3,500 | $19 | |||
| 2/4 | Purchase | 4,500 | 28 | |||
| 2/20 | Sale | 5,000 | 47 | |||
| 4/2 | Purchase | 5,500 | 36 | |||
| 11/4 | Sale | 4,700 |
52 |
In: Accounting
Problem 4 : Write a program that prompts the user to enter in an integer and then prints as shown in the example below
Enter an integer
5 // User enters 5
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Bye
In: Computer Science
|
From Warehouse |
To Customer |
|||
|
1 |
2 |
3 |
4 |
|
|
1 |
25 |
21 |
11 |
21 |
|
2 |
23 |
16 |
17 |
21 |
|
3 |
20 |
20 |
14 |
25 |
|
4 |
17 |
25 |
16 |
12 |
Each of the warehouses have a capacity of 2,500 units, and the demand levels at the four customers are as follows: 1,200 units at Customer 1; 800 units at Customer 2; 5,250 units at Customer 3; and 1,850 at Customer 4. Surely, your main objective is to figure out the shipment plan in order to minimize total transportation costs.
Formulate this problem as a linear program. By following the 4 steps, write out the linear model.
In: Physics
A famous cable company conducted an analysis to test gender differences in # of hours spent watching TV per day. In particular, the company tested whether men spent more time on watching TV than women. A T-test was conducted utilizing normally distributed random sample data at a=0.05.
|
Women |
Men |
|||
|
1 |
0 |
t-Test: Two-Sample Assuming Unequal Variances |
||
|
1 |
1 |
|||
|
1 |
1 |
Variable 1 |
Variable 2 |
|
|
2 |
2 |
Mean |
3.214286 |
3.3 |
|
2 |
2 |
Variance |
7.873626 |
11.34444 |
|
2 |
3 |
Observations |
14 |
10 |
|
2 |
4 |
Hypothesized Mean Difference |
0 |
|
|
3 |
4 |
df |
17 |
|
|
3 |
4 |
t Stat |
-0.0658 |
|
|
3 |
12 |
P(T<=t) one-tail |
0.474152 |
|
|
4 |
t Critical one-tail |
1.739607 |
||
|
4 |
P(T<=t) two-tail |
0.948304 |
||
|
5 |
t Critical two-tail |
2.109816 |
||
|
12 |
||||
Answer the following questions based on the data and the t-test provided above. Be sure to report your answers in sentence form (15 pts).
In: Statistics and Probability