You baked two cakes: one in a light aluminum pan and one in a heavy pyrex pan. Please Match each of the four with either Pyrex or Aluminum as the answer
1. The pan that needs to give up the most heat energy to cool down to room temperature.
2. The pan that gives up the heat energy the fastest
3. The pan most likely to burn your fingers if you try to move it too soon.
4. The pan in which the bottom of the cake is most likely to brown (same temperature oven, same time in oven.)
ANSWER OPTIONS
A .pyrex
B. aluminum
In: Physics
I NEED AN NLOGN OR LINEAR SOLUTION TO THIS PROBLEM!
I NEED A FASTER SOLUTION THAN THE ONE GIVEN BELOW!! The solution below runs in quadratic time, I need one faster than this.
I REPEAT I NEED A FASTER SOLUTION!! THE SOLUTION GIVEN BELOW IS TOO SLOW!
Slow Solution:
def predictAnswer(stockData, queries):
stockData = [0] + stockData
length = len(stockData)
ans = []
for q in queries:
l = q-1
r = q+1
flag = True
while l > 0 or r < length:
if l > 0 and stockData[l] < stockData[q]:
ans.append(l)
flag = False
break
if r < length and stockData[r] < stockData[q]:
ans.append(r)
flag = False
break
l -= 1
r += 1
if flag:
ans.append(-1)
return ans
Question:
The function predictAnswer should be made based on the following.
In the prediction game, the first player gives the second player some stock market data for some consecutive days. The data contains a company's stock price on each day. The rules for the game are:
Example 1;
stockData size n =10;
stockData = [5,6,8,4,9,10,8,3,6,4]
queries = [6,5,4]
Result is [5,4,8]
On day 6, the stock price is 10. Both 9 and 8 are lower prices one day away. Choose 9 (day 5) because it is before day 6. On day 5, the stock price is 9. 4 is the closest lower price on day 4. On day 4, the stock price is 4. The only lower price is on day 8. The return array is [5,4,8]
Example - 2
stockData size n = 10
stockData = [5,6,8,4,9,10,8,3,6,4]
queries = [3,1,8]
Result is [2,4,-1]
If the day number is 3.both days 2 and 4 are smaller.choose the earlier day,day 2.
If the day number is 1,day 4 is the closet day with a smaller price.
If the day number is 8,there is no day where the price is less than 3.
The return array is [2,4,-1]
/*
* Complete the 'predictAnswer' function below.
*
* The function is expected to return an INTEGER_ARRAY.
* The function accepts following parameters:
* 1. INTEGER_ARRAY stockData
* 2. INTEGER_ARRAY queries
*/
def predictAnswer(stockData, queries):
In: Computer Science
1. What will be the value of numbers[1] after the following code is executed?
int[] numbers = {22, 33, 44};
for(int k = 0; k < 3; k++)
{
numbers[k] = numbers[k] + 5;
}
}
2. What will be the results of the following code?
final int ARRAY_SIZE = 5;
double[] x = new double[ARRAY_SIZE];
for(int i = 1; i <= ARRAY_SIZE; i++)
{
x[i] = 10.0;
}
3.What is the value of numbers [3] after the following line of code executes?
int[] numbers = new int[5];
4.What would be the results after the following code was executed?
int[] x = {23, 55, 83, 19};
int[] y = {36, 78, 12, 24};
x = y;
y = x;
5.In order to do a binary search on an array,
Question 5 options:
a. the values of the array must be numeric.
b. the array must first be sorted in ascending order.
c. you must first do a sequential search of the array to assure the element you are looking for is there.
d. there are no requirements.
6. The ______ search repeatedly divides the portion of an array being searched in half.
7.What is the value of x after the following statements execute?
Int[] numbers = { 10, 20, 30, 40, 50 };
int x = numbers[2] + numbers[3];
8. The _________ search steps through an array, comparing each value to the search value.
9. What will be the value of x[1] after the following code is executed?
int[] numbers = {22, 33, 44};
arrayProcess(numbers[1]);
...
public static void arrayProcess(int a)
{
a = a + 5;
}
10.The sequential search algorithm
Question 10 options:
a. requires the array to be ordered.
b. must always be implemented as a method.
c. will not execute, if the element is not in the array.
d. uses a loop to sequentially step through an array, starting with the first element.
In: Computer Science
Your friends and you decide to purchase a large tract of forest land in northern Minnesota with the intent of generating income from timber and leasing the hunting rights. Your estimated costs and returns are as follows:
• $1400/acre purchase price of land, paid back in equal yearly installments over 15 years @ 7% annual interest.
• $200/acre site preparation costs incurred immediately.
• $250/acre tree planting costs incurred 1 year after purchase.
• $100/acre forest management costs incurred 3, 4, 5, 6, and 7 years after purchase.
• $50/acre forest management costs incurred 8, 9, and 10 years after purchase.
• Annual hunting lease of $75/acre beginning in years 2 years after purchase and continuing until 15 years after purchase.
• $7/acre annual property taxes, beginning immediately and paid each year you own the land through 15 years after purchase.
• $4,500/acre income from the sale of timber 13 years after purchase.
• $1,200/acre from the sale of your forest land 16 years after purchase.
• Your discount rate is 5.5%.
1-What amount will you have to pay each year for the loan payment associated with purchasing the land?
2-What is the present value of all loan payments?
3-What is the present value of the last loan payment associated with purchasing the forest land?
4-What is the present value of the site preparation costs?
5- What is the present value of the tree planting costs?
6-What is the present value of the $100/acre forest management costs (all years)?
7-What is the present value of the last $50/acre forest management cost?
8-What is the present value of the last $50/acre forest management cost?
9-What is the present value of the last lease payment?
10-What is the present value of all hunting lease revenue?
11-What is the present value of the revenue generated from the timber sale?
12-What is the present value of the revenue generated from the sale of your forest land?
13-What is the present value of the property taxes (all years)?
14-What is the present value of all costs incurred in year 10?
15-What is the present value of all revenue generated in year 2?
16-What is the net present value of all costs incurred and revenue generated in year 6?
In: Finance
Comprehensive Problem 1 Part 2
Post the entries into the following ledger accounts. (Enter the transaction in chronological order for each of the Ledger accounts. Round your final answers to the nearest whole dollar.)
| A | B | C | D | E | |
|---|---|---|---|---|---|
| No | Date | General Journal | Debit | Credit | |
| 1 | 1 | Dec.1 | Cash | 270,000 | |
| 2 | Capital stock | 270,000 | |||
| 3 | |||||
| 4 | 2 | Dec.1 | Rental equipment | 201,600 | |
| 5 | Cash | 138,000 | |||
| 6 | Notes payable | 63,600 | |||
| 7 | |||||
| 8 | 3 | Dec.1 | Prepaid rent | 9,300 | |
| 9 | Cash | 9,300 | |||
| 10 | |||||
| 11 | 4 | Dec.4 | Office supplies | 1,200 | |
| 12 | Accounts payable | 1,200 | |||
| 13 | |||||
| 14 | 5 | Dec.8 | Cash | 8,500 | |
| 15 | Unearned rental fees | 8,500 | |||
| 16 | |||||
| 17 | 6 | Dec.12 | Salaries expense | 4,900 | |
| 18 | Cash | 4,900 | |||
| 19 | |||||
| 20 | 7 | Dec.15 | Cash | 12,100 | |
| 21 | Accounts receivable | 6,500 | |||
| 22 | Rental fees earned | 18,600 | |||
| 23 | |||||
| 24 | 8 | Dec.17 | Maintenance expense | 600 | |
| 25 | Accounts payable | 600 | |||
| 26 | |||||
| 27 | 9 | Dec.23 | Cash | 2,200 | |
| 28 | Accounts receivable | 2,200 | |||
| 29 | |||||
| 30 | 10 | Dec.26 | No journal entry required | ||
| 31 | |||||
| 32 | 11 | Dec.26 | Salaries expense | 4,900 | |
| 33 | Cash | 4,900 | |||
| 34 | |||||
| 35 | 12 | Dec.27 | Accounts payable | 600 | |
| 36 | Cash | 600 | |||
| 37 | |||||
| 38 | 13 | Dec.28 | Dividends | 2,700 | |
| 39 | Dividends payable | 2,700 | |||
| 40 | |||||
| 41 | 14 | Dec.29 | No journal entry required | ||
| 42 | |||||
| 43 | 15 | Dec.29 | Unexpired insurance | 9,120 | |
| 44 | Cash | 9,120 | |||
| 45 | |||||
| 46 | 16 | Dec.31 | Utilities expense | 680 | |
| 47 | Accounts payable | 680 | |||
| 48 | |||||
| 49 | 17 | Dec.31 | Cash | 15,900 | |
| 50 | Accounts receivable | 4,700 | |||
| 51 | Rental fees earned | 20,600 |
In: Accounting
1. When using the high-low method for estimating the fixed and variable portion of a mixed cost, you must first find the high and low points of sales. Then, to find the variable cost per unit, you must: Select one: a. Divide the difference in unit sales by the difference in total cost b. Divide the difference in total cost by the difference in unit sales c. Divide the difference in dollar sales by the difference in total cost d. Divide the difference in total cost by the difference in dollar sales
2. Sales mix is Select one: a. the relative percentage in which a company sells its multiple products b. the trend of sales over recent periods c. the mix of variable and fixed expenses in relation to sales d. a measure of leverage used by the company
3. In a sales mix situation, at any level of units sold, net income will be higher if Select one: a. more higher contribution margin units are sold than lower contribution margin units b. more lower contribution margin units are sold than higher contribution margin units c. more fixed expenses are incurred d. weighted-average unit contribution margin decreases
4. Ramirez Corporation sells two types of computer chips. The sales mix is 30% (Q-Chip) and 70% (Q-Chip Plus). Q-Chip has variable costs per unit of $60 and a selling price of $100. Q-Chip Plus has variable costs per unit of $70 and a selling price of $130. The weighted-average unit contribution margin for Ramirez is Select one: a. $46 b. $50 c. $54 d. $100
5. Ramirez Corporation sells two types of computer chips. The sales mix is 30% (Q-Chip) and 70% (Q-Chip Plus). Q-Chip has variable costs per unit of $60 and a selling price of $100. Q-Chip Plus has variable costs per unit of $70 and a selling price of $130. Ramirez’s fixed costs are $540,000. How many units of Q-Chip would be sold at the break-even point? Select one: a. 3,000 b. 3,522 c. 5,000 d. 7,000
In: Accounting
6. A patient weighs 125.4 lbs. and has an order for Amoxicillin 50 mg/kg/day PO to be given in equally divided doses q 8 hr. How many mg will be given per dose? _________mg/dose. How many mL per dose? ______mL/dose.
7. Diltiazem 0.35 mg/kg IV now is ordered for a patient weighing 176 lbs. How many mL will be administered? ______mL
8. Gemcitabine 475 mg IV now is ordered. Following the directions on the medication label, the patient will receive ________mL of Gemcitabine to deliver the ordered dose. .
9. Gentamicin 1.5 mg/kg/day IV to be given in two equally divided doses is ordered for a patient weighing 22 lbs. How many mL will be given per dose? ________mL/dose
In: Nursing
#3. Miles Driven Car age (year) Maintenance cost
--------------- ----------------- ---------------
16,320 7
$1,200
15,100
8 1,400
18,500
8 1,820
10,200
3 900
9,175
3 650
12,770
7 1,150
8,600
2 875
7,900
3 900
Using Excel develop two linear regressions: one for maintenance cost using as a function of mileage, and the second one for maintenance cost as a function of car’s age.
Are both regressions adequate (look at value of Significance)? What are the coefficients of determination for those regression equations? (what does the value mean?)
Explain what do values of the coefficients a and b mean? (in the eq. y = a + b*x)
Using your result do forecasts for the maintenance costs for the 5 years old police car with 10 thousand miles driver per year. Are the forecasts the same? If not why?
In: Statistics and Probability
1. Vinnie is looking for an apartment in Dayton, Ohio. In Dayton, 75% of the two bedroom, one bath apartments are $800 a month and 25% are $400. The marginal cost of his search is $15 per search, i.e., the marginal cost of looking at the first apartment is $15, the marginal cost of looking at the second apartment is $30, and so on. Suppose that Vinnie discovers that the distribution of high price - low price apartments is not 75% and 25% but 60% and 40%. He will now be willing to look at a maximum of __________ apartments.
a. 8
b. 6
c. 4
d. 10
2.
Suppose Erie Textiles can dispose of its waste “for free” by dumping it into a nearby river. While the firm benefits from dumping waste into the river, the waste reduces the fish and bird reproduction. This causes damage to local fishermen and the aviarist. At a cost, Erie Textiles can filter out the toxins, in which case local fishermen or aviarist will not suffer any damage. The relevant gains (thousands of dollar) and losses for the three parties are listed below:
With filter Without filter
Erie textiles: 275 400
Fishermen 170 130
Aviarist 130 25
The daily cost (in thousands of dollars) of the filter to Erie Textiles is:
a. 400
b. 100
c. 125
d. 300
3. Suppose Erie Textiles can dispose of its waste “for free” by dumping it into a nearby river. While the firm benefits from dumping waste into the river, the waste reduces the fish and bird reproduction. This causes damage to local fishermen and the aviarist. At a cost, Erie Textiles can filter out the toxins, in which case local fishermen or aviarist will not suffer any damage. The relevant gains (thousands of dollar) and losses for the three parties are listed below:
With filter Without filter
Erie textiles: 275 400
Fishermen 170 130
Aviarist 130 25
The daily benefit (in thousands of dollars) of the filter to the fishermen and aviarist is
a. 400
b. 310
c. 145
d. 200
4.
Suppose Erie Textiles can dispose of its waste “for free” by dumping it into a nearby river. While the firm benefits from dumping waste into the river, the waste reduces the fish and bird reproduction. This causes damage to local fishermen and the aviarist. At a cost, Erie Textiles can filter out the toxins, in which case local fishermen or aviarist will not suffer any damage. The relevant gains (thousands of dollar) and losses for the three parties are listed below:
With filter Without filter
Erie textiles: 275 400
Fishermen 170 130
Aviarist 130 25
What is the minimum amount that needs to be paid to Erie textiles so that he agrees to install a filter?
a. 126
b. 276
c. 100
d. 400
5.
Suppose Erie Textiles can dispose of its waste “for free” by dumping it into a nearby river. While the firm benefits from dumping waste into the river, the waste reduces the fish and bird reproduction. This causes damage to local fishermen and the aviarist. At a cost, Erie Textiles can filter out the toxins, in which case local fishermen or aviarist will not suffer any damage. The relevant gains (thousands of dollar) and losses for the three parties are listed below:
With filter Without filter
Erie textiles: 300 400
Fishermen 170 130
Aviarist 130 25
What is the maximum amount that the fishermen and the aviarist can give to Erie textiles so that he agrees to install a filter?
a. 145
b. 100
c. 125
d. 200
6.
Suppose Erie Textiles can dispose of its waste “for free” by dumping it into a nearby river. While the firm benefits from dumping waste into the river, the waste reduces the fish and bird reproduction. This causes damage to local fishermen and the aviarist. At a cost, Erie Textiles can filter out the toxins, in which case local fishermen or aviarist will not suffer any damage. The relevant gains (thousands of dollar) and losses for the three parties are listed below:
With filter Without filter
Erie textiles: 275 400
Fishermen 170 130
Aviarist 130 25
If Erie Textiles does not install the filter that will cause a net social _____ of _____ (in thousands of dollars).
a. Loss; 25
b. Loss; 40
c. Gain; 100
d. Gain; 35
In: Economics
The payoff matrix for a game is 4 −1 5 −6 2 1 1 −4 2 . (a) Find the expected payoff to the row player if the row player R uses the maximin pure strategy and the column C player uses the minimax pure strategy. (b) Find the expected payoff to the row player if R uses the maximin strategy 40% of the time and chooses each of the other two rows 30% of the time while C uses the minimax strategy 50% of the time and chooses each of the other two columns 25% of the time. (Round your answer to two decimal places.)
In: Advanced Math