Suppose that the current i on 1-year bonds is 4% and the expected interest rate on all one- year bonds to be issued in the next five years is also 4%. Suppose that the illiquidity premium is:
ln,t = (0.1)(n-1) (%)
What will the interest rates on 2-, 3-, 4-, and 5-year bonds be,
based on the liquidity-premium theory?
• Draw the yield curve for these set of bonds.
In: Economics
4A- under polar aprotic (NaI, acetone) conditions predict the outcomes of the first 6 alkyl halide reactions
4B- under polar protic conditions (EtOH, Ag) predict the outcomes of the first 6 alkyl halide reactions (hint: hand draw the mechanisms, see if they make sense)
1) 1-Bromobutane
2) 2-Bromobutane
3) 2-Bromo-2-methylpropane
4) bromobenzene
5) 1-chlorobutane
6) 2-Chlorbutane
7) 2-Chloro-2-methylpropane
8) 1-Chloro-2-butene
In: Chemistry
Given the following project:
Act. Preceding Crash Cost Maximum Crash Normal Time Activity (in million $) Time (in months) (in months)
A - 0 0 1
B A 10 2 3
C A 5 1 4
D B 6 1 3
E C 7 2 4
F D, E 9 1 3
SLACK TIME = Late Starting Time – Early Starting Time OR Late Finish Time – Early Finish Time
To reduce the project time as much as possible given its characteristics, what activity or activities can be crashed?
In: Operations Management
This problem should be solved using the DrRacket software in Racket/Scheme language.
Write a function (merge-sorter L1) that takes list-of-integers L1 and returns all elements of L1 in sorted order. You must use a merge-sort technique that, in the recursive case, a) splits L1 into two approximately-equal-length lists, b) sorts those lists, and then c) merges the lists to obtain the result. See the following examples for clarificaton.
(merge-sorter '(3 1 5 4 2) ---> (1 2 3 4 5) (merge-sorter '()) ---> () (merge-sorter '(1)) ---> (1)
In: Computer Science
How many iterations of the for loop does this program perform?
int main(void) {
int a[] = {1, 2, 3, 4};
int i;
for (i = 0; i < 4; i++) {
if (a[i] < 0) return 1;
else return 0;
}
return 0;
}
Question 1 options:
| A |
No iterations. |
| B |
The program crashes. |
| C |
One. |
| D |
The program does not compile. |
| E |
Four. |
Question 2
What does the following program do?
int main(void) {
int i, a[];
a[0]=1;
for (i=0; i<10; i++) {
a[i] = a[i-1] + 2*i + 1;
}
return 0;
}
Question 2 options:
| A |
It crashes when it is run because no memory is reserved for the array. |
| B |
It does not compile. |
| C |
It fills the array with the squares of the integers from 1 to 10. |
| D |
It fills the array with the first 10 powers of 2. |
Question 3
What's the problem with this code?
int main(void) {
int i, a[5];
for (i=1; i <= 5; i++) {
a[i] = i+1;
}
return 0;
}
Question 3 options:
| A |
The main problem is that the loop accesses a non-existing a[5]. This will cause some memory location to be inadvertently written. The secondary problem is that a[0] is left uninitialized. |
| B |
It doesn't compile because one cannot declare an int variable and an int array on the same line. |
| C |
There is no problem. The code will run just fine. |
| D |
It crashes because a[1] is accessed before a[0]. |
Question 4
If a is declared with
int a[10];
what value does sizeof(a) have?
Question 4 options:
| A |
14 |
| B |
Whatever is the size of a pointer to an integer. |
| C |
10 |
| D |
10*sizeof(int) |
Question 5
What does the following program do?
#include
int main(void) {
int a[] = {1,2,3,4};
int b[4]; b = a;
printf("%4d\n", b);
return 0;
}
Question 5 options:
| A |
It prints 1 2 3 4. |
| B |
The program incurs a segmentation fault when run. |
| C |
It does not compile. You cannot copy arrays like that. |
| D |
It does not compile. You cannot print an entire array like that. |
question 6
Arrays are just pointers in disguise.
Question 6 options:
| A | True |
| B | False |
Question 7
Declaring too large an array in a function may cause a stack overflow when the function is called.
Question 7 options:
| A | True |
| B | False |
Question 8
What does the following program do?
int main(void) {
int a[4];
a = {1,2,3,4};
return a[3];
}
Question 8 options:
| A |
It crashes because main can only return 0. |
| B |
It returns 3. |
| C |
It returns 4. |
| D |
It does not compile. |
Question 9
What does the following program do?
#include
int main(void) {
int i = 2;
int a[] = {0,1,2,3,4};
int n = sizeof(a) / sizeof(a[0]);
for (i = 0; i < n; i++) {
(*(a+i))++;
printf(" %d", a[i]);
}
printf("\n");
return 0;
}
Question 9 options:
| A |
It does not compile. |
| B |
It prints: 1 1 1 1 1 |
| C |
Prints: 1 2 3 4 5. |
| D |
It crashes because it causes a segmentation fault. |
Question 10
What does the following program do?
#include
int main(void) {
int * p;
int a[] = {0,1,2,3,4};
int n = sizeof(a) / sizeof(a[0]);
for (p = a; p != a+n; p++) {
printf(" %d", *p);
}
printf("\n");
return 0;
}
Question 10 options:
| A |
It crashes because p != a+n accesses an address that isout of bounds. |
| B |
It doesn't compile. You cannot assign an array to a pointer because they are of different types. |
| C |
It prints nonsense because %d is for integers, while p is a pointer. |
| D |
It prints: 0 1 2 3 4 |
In: Computer Science
Question 9 (2.5 points)
Consider a good for which there is a positive externality. If this good were provided by the market, then
Question 9 options:
|
|||
|
|||
|
|||
|
Question 10 (2.5 points)
If Nick drives less carefully after obtaining car insurance
Question 10 options:
|
|||
|
|||
|
|||
|
Question 11 (2.5 points)
________is a good that is non-excludable and rival in consumption
Question 11 options:
|
|||
|
|||
|
|||
|
Question 12 (2.5 points)
___________is a claim that the government should aim to maximize the well-being of the worst off person in society
Question 12 options:
|
|||
|
|||
|
|||
|
In: Economics
| Evaluating alternative notes | ||||
| The data for two alternatives for a loan are provided in the table below. | ||||
| DATA | ||||
| Number of days per year | 360 | |||
| Alternative 1 | Alternative 2 | |||
| Principal amount of note | $510,000 | $510,000 | ||
| Interest rate | 4% | |||
| Note discount rate | 4% | |||
| Term of note, days | 90 | 90 | ||
| Using formulas and cell references, perform the required analysis, and input your answers into the Amount column. Transfer the numeric results for the green entry cells (D15:D17) into the appropriate fields in CNOWv2 for grading. | ||||
| Amount | Formulas | |||
| a. | Amount of the interest expense for each alternative | |||
| b. | Proceeds received by the borrower under alternative 1 | |||
| Proceeds received by the borrower under alternative 2 | ||||
Calculate the amount of the interest expense for each option. Round your answer to the nearest dollar.
$( ) for each alternative.
Determine the proceeds received by the borrower in each alternative. Round your answers to the nearest dollar.
(1) $510,000, 90-day, 4% interest-bearing note: $ ( )
(2) $510,000, 90-day note discounted at 4%: $ ( )
Alternative (1 or 2) is more favorable to the borrower because the borrower ( receives more cash / Pays more interest/ has an extension of time to pay)
In: Accounting
You have joined a northern mail order company selling winter coats. You have the coat sales by quarter for the last three years.
Year 1 Qtr 1, 24 Winter Coats Qtr 2, 12 Qtr 3, 20 Qtr 4, 36 Year 2 Qtr 1, 28 Winter Coats Qtr 2, 10 Qtr 3, 22 Qtr 4, 40 Year 3 Qtr 1, 32 Winter coats Qtr 2, 14 Qtr 3, 27 Qtr 4, 44
Use linear regression to forecast the total coats to be sold in year 4 in thousands. For the equation Y = aX + b give "a". ____ (two decimals) Give "b" ____ (two decimals)
Give the forecast for the fourth year? ____ (two decimals)Next use the quarters to generate seasonal factors. Give the season factor for quarter one? ____ (two decimals)
Give the season factor for quarter two? _____ (two decimals)Give the season factor for quarter three? _____ (two decimals) Give the season factor for quarter four? ______ (two decimals) Give the forecasted sales for quarter one? ______ (All answers remaining to two decimals) Quarter two? ______Quarter three? ______Quarter four? _____
In: Operations Management
PLEASE DO BY HAND AND NOT EXCEL
1.A car dealer believes that average daily sales for four different dealerships in four separate states are equal. A random sample of days results in the following data on daily sales:
Ohio New York West Virginia Pennsylvania
3 10 3 20
2 0 4 11
6 7 5 8
4 8 2
4 0 14
7
2
Use ANOVA to test this claim at the 0.05 level.
In: Math
Question 6 (1 point)
Ten students took a statistics final and their scores were 77.4; 77.7; 80.7; 73.8; 86.3; 76.8; 80.6; 84.8; 82.4; 74.4. Calculate the mean of the dataset.
Question 6 options:
|
|||
|
|||
|
|||
|
|||
|
Question 7 (1 point)
Suppose that the middle 95% of monthly food expenditures for a family of four fall between 365.32 and 670.48. Give an approximate estimate of the standard deviation of the expenditures. Assume the expenditures have a normal distribution.
Question 7 options:
|
|||
|
|||
|
|||
|
|||
|
Question 8 (1 point)
If the scores per round of golfers on the PGA tour are approximately normally distributed with mean 60.8 and standard deviation 2.19, what is the probability that a randomly chosen golfer's score is between 61 and 67 strokes?
Question 8 options:
|
|||
|
|||
|
|||
|
|||
|
Question 9 (1 point)
If the scores per round of golfers on the PGA tour are approximately normally distributed with mean 65.9 and standard deviation 2.94, what is the probability that a randomly chosen golfer's score is between 66 and 68 strokes?
Question 9 options:
|
|||
|
|||
|
|||
|
|||
|
In: Statistics and Probability