Cholesterol is vital to human health and well being. It plays an
important
role in the structure, fluidity and permeability of the cell
membrane, and helps
synthesize vitamin D and various hormones. Although cholesterol is
essential for
human health, high levels of cholesterol in the blood stream can
lead to damaged
blood vessels and cardiovascular disease. The cholesterol level in
mg/dl of a
group of Canadian adults is assumed to be normally
distributed.
1. Five individuals are randomly selected from this group. Below
are the
measurements of their cholesterol levels:
120 116 130 132 111
Compute a 95% confidence interval for the mean cholesterol
level.
2. Fifteen individuals are randomly selected from this group.
120 116 130 132 111 122 130 111 143 127 129 135 150 121 112.
Compute a 95% confidence interval for the mean cholesterol
level.
3. Based on these two confidence interval constructions, what do
you conclude?
In: Statistics and Probability
Two bicyclists start racing along a straight road from the same place at the same time in the same direction.
If one travels 40 mi/hr and the other 35 mi/hr, find the distance between them t hours after they start.
In: Math
A nine-month European put option on a dividend-paying stock is
currently selling for $2. The stock
price is $25, the strike price is $27, and the risk-free interest
rate is 7% per annum. The stock is expected
to pay a dividend of $1 one month later and another dividend of $1
seven months later. Explain the
arbitrage opportunities available to the arbitrageur by
demonstrating what would happen under
different scenarios.
In: Finance
A nine-month European put option on a dividend-paying stock is currently selling for $2. The stock price is $25, the strike price is $27, and the risk-free interest rate is 7% per annum. The stock is expected to pay a dividend of $1 one month later and another dividend of $1 seven months later. Explain the arbitrage opportunities available to the arbitrageur by demonstrating what would happen under different scenarios.
In: Finance
1. What is the definition of the word Nutrition?
2. Tell me two myths about nutrition and the actual truth.
3. Give me 3 advice about nutrition in Canada.
4. What is the definition of Canada's food guide?
5. Tell me two myths about Canada's food guide and the actual truth.
6. Give me 3 advice using the Canada's food guide.
7. What is the definition of nutritional status?
8. Tell me two myths about nutritional status and their truths.
9. Give me 3 advice about nutritional status in Canada
In: Nursing
Problem 5. Sampling from two populations produced the following results. ?̅ =385 Sx=30 nx =100
?? = 3 7 8 S y = 2 5 n y = 9 0
Find the standard error of (?̅ - ??). Show your calculations.
Find the 90% confidence interval estimate for the difference between the two population means.
Show your calculations.
State clearly the assumption(s) that are necessary for your answer to (b) will be valid.
Interpret your result in (b).
It is claimed that the two population means are not different from each other. Do you reject this
claim? Explain clearly.
In: Statistics and Probability
You offer Donny the choice between two bundles of Coffee (C) and Muffins (M). The
options are(C,M) = (6, 4)and(C,M) = (8, 2), and Donny indicates he prefers the second option.
(a) Write a utility function for Donny that is consistent with his choice.
Suppose you offer him a third option of(C,M) = (7, 6)in addition to the original two, and that Donny indicates he prefers this third option to the first two.
(b) Write a utility function for Donny that is consistent with his choice. It is possible it may be
the same as your answer from part (a).
In: Economics
Two drilling machines(machine A and machine B) can drill deep holes with different diameters on workpieces. The processing time of the two machines are random due to various workpiece materials. Suppose the time it takes machine A to complete drilling one hole is exponentially distributed with mean 1.5,and the time it takes machine B to complete drilling one hole is exponentially distributed with mean 1. If the two machines work independently: 1) what is the probability that machine A completes the work first? 2) What is the probability that machine B completes the work first? 3) Given that machine A completes first, what is the expected amount of time it takes machine A to complete the work? 4) Given that machine A completes last, what is the expected amount of time it takes machine A to complete the work?
In: Statistics and Probability
ASSUME THAT MUSTAFA OPERATES THE ONLY SIGHTEEING TOUR BUSINESS IN NEW YORK, AND HE MAKES A LOT OF MONEY. HE HAS ONLY ONE BUS WHICH CAN FIT 50 PEOPLE PER TOUR AND EACH TOUR LASTS 2 HOURS. HIS TOTAL COST OF OPERATING ONE TOUR IS FIXED AT $450. MUSTAFA'S COST IS NOT REDUCED IF HE RUNS A TOUR WITH A PARTIALLY FULL BUS. WHILE HIS COST IS THE SAME FOR ALL TOURS. MUSTAFA CHECKS IS'S AND CHARGES EACH PASSENGER THEIR WILLINGNESS TO PAY BASED ON THEIR AGE: ADULTS $18 PER TRIP, CHILDREN $10 PER TRIP, AND SENIOR CITIZENS $12 PER TRIP. AT THOSE RATES, ON A TYPICAL DAY MUSTAFA'S DEMAND IS:
| PASSENGER TYPE | WIILLINGNESS TO PAY | DEMAND PER DAY | |
| ADULTS | $18 | 70 | |
| CHILDREN | $10 | 25 | |
| SENIOR CITIZENS | $12 |
55 |
ASSUME THAT MUSTAFA'S CUSTOMERS ARE ALWAYS AVAILABLE FOR THE TOUR; THEREFORE, HE CAN FILL HIS BUS FOR EACH TOUR AS LONG AS THERE IS SUFFICIENT TOTAL DEMAND FOR THE DAY.
A. WHAT IS THE MICROECONOMIC TERM(NAME) FOR MUSTAFA'S PRICING STRATEGY?
B. WHAT IS MUSTAFA'S TOTALCOST OF SERVING ALL PASSENGERS WANTING A TOUR ON A TYPICAL DAY?
C. WHAT IS MUSTAFA'S TOTAL PROFIT ON A TYPICAL DAY?
D. ANGELA TELLS MUSTAFA THAT HE WOULD MAKE MORE PROFITS IF HE CHARGED A SINGLE PRICE OF $18 PER TICKET. ASSUMING NO CHANGES IN CONSUMER DEMAND, WHAT WOULD MUSTAFA'S TOTAL PROFIT BE IF HE CHARGED EVERY CUSTOMER$18? DO YOU AGREE WITH ANGELA? EXPLAIN
E. EMILY TELLS MUSTAFA THAT HE WOULD MAKE MORE PROFITS IF HE CHARGED A SINGLE PRICE OF $12 PER TICKET. ASSUMING NO CHARGES IN CONSUMER DEMAND, WHAT WOULD MUSTAFA'S TOTAL PROFIT BE IF HE CHARGED EVERY CUSTOMER $12? DO YOU AGREE WITH EMILY? EXPLAIN
In: Economics
Write a program in C that allows you to determine the endianness of your computer. Hint: use unsigned char* ptr.
Your task is to explain this code. Make sure that you are detailed in your explanation by explaining the significant lines. In particular, correct explanation of lines 12, 13, 15, 18, 21, 22, 24, 25, 26 and 27 will earn 1 point each. Additionally, explain the overall purpose of the logical operations in lines 24-27 for 2 points. Your explanation should not just reiterate the code. For example, don’t simply say that the for loop iterates 4 times, but rather, explain why and what doing so accomplishes. It would be beneficial to run the code and examine memory contents in gdb.
Here’s an example explanation for line #20: Line #20 prints out the hexadecimal value of x to the console. The %#010x format specifier specifies that the value is printed in hexadecimal (the ‘x’ flag). The # indicates to prepend “0x” to the number. The ‘0’ flag following it indicates that the number should be padded by 0s at the left. The number following it, in this case ‘10’ is the total width of the number we want to display, including the ‘0x’. For example, if the value of x is 1C, then 6 0s are padded to fill up the 10-character space.
1/*
2 * endian.c
3 * Determines endianess. If endianess cannot be determined
4 * from input value, defaults to "big endian"
5 * Bob Plantz - 22 June 2009
6 */
7
8#include
9
10 int main(void)
11{
12 unsigned char *ptr;
13 int x, i, bigEndian;
14
15 ptr = (unsigned char *)&x;
16
17 printf("Enter a non-zero integer: ");
18 scanf("%i", &x);
19
20 printf("You entered %#010x and it is stored\n", x);
21 for (i = 0; i < 4; i++)
22 printf(" %p: %02x\n", ptr + i, *(ptr + i));
23
24 bigEndian = (*ptr == (unsigned char)(0xff & (x >> 24))) &&
25 (*(ptr + 1) == (unsigned char)(0xff & (x >> 16))) &&
26 (*(ptr + 2) == (unsigned char)(0xff & (x >> 8))) &&
27 (*(ptr + 3) == (unsigned char)(0xff & x));
28 if (bigEndian)
29 printf("which is big endian.\n");
30 else
31 printf("which is little endian.\n");
32
33 return 0;
34}
In: Computer Science