Using the following information, calculate the expected return and standard deviation of a portfolio with 50 percent in ABC and 50 percent in DEF. Then calculate the expected return and standard deviation of a portfolio where you invest 40 percent in ABC, 40 percent in DEF, and the rest in T-bills with a return of 3.5 percent.
|
State of the Economy |
Probability |
ABC Stock Return (%) |
DEF Stock Return (%) |
|
Depression |
0.1 |
-5 |
-7 |
|
Recession |
0.2 |
-2 |
2 |
|
Normal |
0.4 |
5 |
6 |
|
Boom |
0.3 |
10 |
15 |
In: Finance
Write a program named Intervals.java that will take two time intervals (a starting and ending time) and compare them. The program first prompts the user for an earlier and later interval. Each interval consists of two numbers in 24-hour format (for example, 1507 for 3:07 p.m.):
Enter earlier start and end time as two 24-hour format times: 0700 1045 Enter later start and end time as two 24-hour format times: 0815 1130
You may presume that the user will enter the intervals with the start time and end time in the correct order.
The program will then calculate how many minutes are in each interval, which one is longer, and whether the intervals overlap (does the later interval start before the first one is finished):
The earlier interval is 225 minutes long. The later interval is 195 minutes long. The earlier interval is longer. These intervals overlap.
Here is output from another run of the program:
Enter earlier start and end time as two 24-hour format times: 1340 1445 Enter later start and end time as two 24-hour format times: 1500 1710 The earlier interval is 65 minutes long. The later interval is 130 minutes long. The later interval is longer. These intervals do not overlap.
If the intervals are of equal length, your output should say they are equally long. If the later interval starts at the same time that the earlier interval ends, they do not overlap.
Plan this program before you start writing it! No single part of this program is tremendously difficult, but there are many parts.
Hint: Convert the times to number of minutes after midnight. This will make your calculations much easier. For example, 0507 is 5 hours and 7 minutes past midnight, or 307 minutes past midnight. You will want to use / and % with 100 to split up the time into the hours and minutes part, but use 60 when calculating total minutes!
Extra challenge: Give the correct answer even if the user enters the beginning and end times for an interval in the wrong order, or if they enter the later interval first and the earlier interval second.
In: Computer Science
15-24: Consider the following values for the dependent and independent variables:
x y
5 10
15 15
40 25
50 44
60 79
80 112
please type answer so I can read it
In: Statistics and Probability
Use Python :
Problem Set 01:
The network for this task has two input nodes, one hidden layer consisting of two nodes, and one output node. It uses a ReLU activation
function. For the hidden layer, the weights for the first hidden node (from the input nodes) are (2.3, -0.64, 2). The last number is the
weight for the bias term. The weights for the second hidden node are (-3, -2, -1).
For the output layer, the weights are (5, 3, -34).
Calculate the output for the following inputs (where the bias term is the last value of each vector). Show your work.
1. (-4, -2, 1)
2. (0, -2, 1)
3. (4, -2, 1)
4. (0, -3, 1)
In: Computer Science
Teradene Corporation purchased land as a factory site and contracted with Maxtor Construction to construct a factory. Teradene made the following expenditures related to the acquisition of the land, building, and equipment for the factory: (FV of $1, PV of $1, FVA of $1, PVA of $1, FVAD of $1 and PVAD of $1) (Use appropriate factor(s) from the tables provided.): Purchase price of the land $ 1,230,000 Demolition and removal of old building 83,000 Clearing and grading the land before construction 165,000 Various closing costs in connection with acquiring the land 45,000 Architect's fee for the plans for the new building 53,000 Payments to Maxtor for building construction 3,280,000 Equipment purchased 875,000 Freight charges on equipment 35,000 Trees, plants, and other landscaping 48,000 Installation of a sprinkler system for the landscaping 5,300 Cost to build special platforms and install wiring for the equipment 15,000 Cost of trial runs to ensure proper installation of the equipment 7,300 Fire and theft insurance on the factory for the first year of use 27,000 In addition to the above expenditures, Teradene purchased four forklifts from Caterpillar. In payment, Teradene paid $19,000 cash and signed a noninterest-bearing note requiring the payment of $73,000 in one year. An interest rate of 8% properly reflects the time value of money for this type of loan. Required: Determine the initial valuation of each of the assets Teradene acquired in the above transactions. (Round your answers to the nearest whole dollars.)
In: Accounting
Use the data in the table about Homer’s Donuts to answer the questions below:
|
Number of workers |
Total Output (per hour) |
Total Revenue |
Value of the marginal product of labor (per hour) |
|
0 |
0 |
||
|
1 |
20 |
40 |
|
|
2 |
35 |
30 |
|
|
3 |
45 |
20 |
|
|
4 |
50 |
10 |
|
|
5 |
54 |
8 |
|
|
6 |
56 |
4 |
|
|
7 |
53 |
-6 |
a. Complete the table assuming a price of $1.00.
b. Assuming the price of donuts is $1.00, and the market wage is $8 an hour, what is the maximum number of workers Homer will hire?
__________________________
c. If the price of donuts rises to $2.00 and wages stay the same, how many workers will Homer’s Donuts hire?
__________________________
d. If the price of donuts is $1.00 and wages rise to $15 an hour, what is the maximum number of workers Homer will hire?
__________________________
In: Economics
Table: Rounded Depreciation Percentage by Recovery Year Using MACRS for First Four Property Classes
Percentage by recovery year
Recovery year 3 years 5 years 7 years 10 years
1 33% 20% 14% 10%
2 45 32 25 18
3 15 19 18 14
4 7 12 12 12
5 12 9 9
6 5 9 8
7 9 7
8 4 6
9 6
10 6
11 4
Total 100% 100% 100% 100%
a. Determine the after-tax cash outflows of Northwest Lumber under each alternative.
b. Find the present value of each after tax cash outflow stream, using the after-tax cost of debt.
c. Which alternative – lease or purchase – would you recommend? Why?
16-20 Options profit and losses
For each of the 100 share options shown in the following table, use the underlying stock price at expiration and other information to determine the amount of profit or loss an investor would have had, ignoring brokerage fees.
Option Types of options Cost of options Striking price per share Underlying stock price per share at expiration
A Call $200 $50 $55
B Call 350 42 45
C Put 500 60 50
D Put 300 35 40
E Call 450 28 26
In: Finance
A sample of 8 sweet potato slices were fried at 130 degrees using a vacuum fryer. One characteristic of interest to the researchers was internal oil content (measured in millions of grams). It is known that internal oil content is normally distributed. The average oil content of the sample of 8 sweet potato slices was 180 with sample standard deviation 10. The researchers are interested in estimating the average of the internal oil content measurements for sweet potato chips. We want to know whether the average oil content is different than 176 millions of grams. Carry out a hypotheses test with significance level 5%. State the null and alternative hypotheses, test statistics, p-value, and conclusion.
In: Statistics and Probability
8,500 people were surveyed about their recent electronics purchases. 3,149 of those surveyed have bought a cell phone in the last year, 1,508 have bought a tablet in the last year, and 925 have bought both.
a) How many people bought at least one of the two?
b) How many people didn’t buy a cell phone or a tablet?
In: Math
Consider the two variables service quality and customer satisfaction. Service quality is independent variable and customer satisfaction is dependent variable. Perform regression analysis using SPSS and explain the results. PLEASE USE SPSS ONLY AND PASTE THE OUTPUT OF SPSS. DO NOT USE EXCEL OR ANY OTHER SOFTWARE. SPSS ONLY PLEASE. SERVICE QUALITY CUSTOMER SATISFACTION
|
SERVICE QUALITY |
CUSTOMER SATISFACTION |
|
11 |
13 |
|
34 |
21 |
|
41 |
45 |
|
35 |
75 |
|
61 |
67 |
|
72 |
76 |
|
57 |
95 |
|
62 |
114 |
|
61 |
94 |
|
41 |
54 |
|
55 |
44 |
|
64 |
76 |
|
23 |
36 |
|
10 |
115 |
|
87 |
54 |
|
98 |
62 |
|
119 |
24 |
|
111 |
45 |
|
133 |
86 |
|
24 |
81 |
|
45 |
83 |
|
36 |
94 |
|
13 |
16 |
|
24 |
26 |
|
27 |
36 |
|
19 |
43 |
|
23 |
53 |
|
45 |
53 |
|
53 |
67 |
|
66 |
39 |
|
71 |
40 |
|
22 |
42 |
|
25 |
53 |
|
26 |
64 |
|
17 |
45 |
|
48 |
45 |
|
134 |
115 |
|
125 |
111 |
|
13 |
23 |
|
24 |
24 |
|
45 |
44 |
|
45 |
45 |
|
67 |
67 |
|
74 |
56 |
|
35 |
45 |
|
16 |
23 |
|
31 |
34 |
|
43 |
55 |
|
64 |
66 |
|
72 |
72 |
|
22 |
24 |
|
32 |
35 |
|
17 |
47 |
|
55 |
44 |
|
54 |
13 |
In: Operations Management