Given the following:
X: 1 2 3 4 5
Y: 3 7 5 11 14
Develop a scatter diagram for these data.
Develop the estimated regression equation.
Use the estimated regression equation to predict the value of Y when X = 4
In: Statistics and Probability
Write a program that initializes an array of 6 random integers and then prints 4 lines of output, containing the following:
1. Only the first and last element
2. Every element at an odd index
3. Every odd element
4. All elements in reverse order
In: Computer Science
Show the contents of the array after the fourth iteration of selectionSort
Your answer should be 4 lines
The array values horizontally for iteration 1
The array values horizontally for iteration 2
The array values horizontally for iteration 3
The array values horizontally for iteration 4
In: Computer Science
The selection of dissolution media is considered from
:
1. Solubility of active ingredient
2. Stability of active ingredient
3. Sink condition
4. Permeability of active ingredient in digestive tract
A. 1,2,3
B. 1,3
C. 2,4
D.4
E. All correct
In: Other
Assignment Purpose
The purpose of this lab is to write a well-commented java program that demonstrates the use of loops, and generation of random integers.
Instructions
Sample Output 1
/*******************Bahamas Vacation Report BEGIN***************\
Generating random numbers……
4 6 3 11 9 2 6 20 11 3
“HURRAY!! DOUBLE SIXES GENERATED”
Largest random number is: 11
The multiplication table is as follows:
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
.
.
11 22 33 44 55 66 77 88 99 110
/*******************Bahamas Vacation Report END ***************\
Sample Output 2
/*******************Bahamas Vacation Report BEGIN***************\
Generating random numbers……
4 6 3 11 9 2 2 20 11 3
“SORRY!! DOUBLE SIXES NOT ENCOUNTERED”
Largest random number is: 11
The multiplication table is as follows:
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
.
.
11 22 33 44 55 66 77 88 99 110
/*******************Bahamas Vacation Report END ***************\
In: Computer Science
Write a well-commented java program that demonstrates the use of loops, and generation of random integers (Code will be written in Dr. Java)
Sample Output 1
/*******************Bahamas Vacation Report BEGIN***************\
Generating random numbers……
4 6 3 11 9 2 6 20 11 3
“HURRAY!! DOUBLE SIXES GENERATED”
Largest random number is: 11
The multiplication table is as follows:
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
.
.
11 22 33 44 55 66 77 88 99 110
/*******************Bahamas Vacation Report END ***************\
Sample Output 2
/*******************Bahamas Vacation Report BEGIN***************\
Generating random numbers……
4 6 3 11 9 2 2 20 11 3
“SORRY!! DOUBLE SIXES NOT ENCOUNTERED”
Largest random number is: 11
The multiplication table is as follows:
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
.
.
11 22 33 44 55 66 77 88 99 110
/*******************Bahamas Vacation Report END ***************\
In: Computer Science
Assume someone has a secret 4-tuple (w, x, y, z) where each number can be from 1 to 1000 inclusive. Your code is supposed to find what these integers are by using a loop and comparing the number (part of Brute Force). One approach is to write four nested for-loops to check for the number. This is O(n 4 ). Your task is to determine a random 4-tuple. Is your solution better than O(n^4 )?
1 import random as rn
2
3 x = [rn.randint(1,1000), rn.randint(1,1000), rn.randint(1,1000), rn.←- randint(1,1000)]
4
5 def find_tuple(x):
6 pass
In: Computer Science
Question 1
A 12-year semiannual bond with a coupon rate of 6% has a face value of $1,000 and a YTM of 7%. The price of the bond is
Question 1 options:
912.85 | |
914.25 | |
916.36 | |
919.71 | |
920.57 |
Question 2
A 4-year discount bond with a face value of $1,000 sells at $915. The YTM of the bond is
Question 2 options:
2.24% | |
2.52% | |
2.83% | |
3.21% | |
3.48% |
Question 3
A 7-year semiannual bond with a face value of $1,000 and a coupon rate of 8% sells at $974. The YTM of the bond is
Question 3 options:
4.3% | |
5.5% | |
6.5% | |
7.2% | |
8.5% |
Question 4
Consider a 20-year semiannual bond with a face value of $1,000, coupon rate of 6.5% and a market price of $1,014.72. The bond is callable in 4 years at the price of $1,050. The yield to call of this bond is
Question 4 options:
6.4% | |
6.8% | |
7.2% | |
7.6% | |
8.2% |
In: Finance
Surveys were sent out to four different test groups asking them for product ratings. Determine if there is evidence that the mean product ratings differ among the four test groups. Use a 0.01 level of significance.
| Test Group 1 | Test Group 2 | Test Group 3 | Test Group 4 |
|---|---|---|---|
| 16 | 11 | 11 | 16 |
| 11 | 19 | 15 | 13 |
| 12 | 19 | 16 | 14 |
| 11 | 17 | 16 | 15 |
| 14 | 18 | 16 | 16 |
| 62 |
1.) What is the correct hypotheses statements?
2.)What is the F-statistic for the one-way ANOVA? Round to 4 decimal places.
3.)What is the p-value of the F statistic? Enter your answer with 4 decimal places.
4.)Should the null hypothesis be rejected or not? And are post-hoc tests needed?
In: Statistics and Probability
Revenues generated by a new fad product are forecast as follows:
| Year | Revenues |
| 1 | $40,000 |
| 2 | 30,000 |
| 3 | 20,000 |
| 4 | 5,000 |
| Thereafter | 0 |
Expenses are expected to be 40% of revenues, and working capital required in each year is expected to be 20% of revenues in the following year. The product requires an immediate investment of $49,000 in plant and equipment.
Required:
a. What is the initial investment in the product? Remember working capital.
b. If the plant and equipment are depreciated over 4 years to a salvage value of zero using straight-line depreciation, and the firm’s tax rate is 20%, what are the project cash flows in each year? Assume the plant and equipment are worthless at the end of 4 years.
|
c. If the opportunity cost of capital is 10%, what
is the project's NPV?
d. What is project IRR?
In: Finance