Red Canyon T-shirt
Company operates a chain of T-shirt shops in the southwestern
United States. The sales manager has provided a sales forecast for
the coming year, along with the following information:
| Quarter 1 | Quarter 2 | Quarter 3 | Quarter 4 | ||||
| Budgeted unit sales | 43,000 | 66,000 | 33,000 | 66,000 | |||
Required:
1. Determine budgeted sales revenue for quarters 1, 2, and
3.
2. Determine budgeted cost of merchandise
purchased for quarters 1, 2, and 3.
3. Determine budgeted cost of good sold for
quarters 1, 2, and 3.
4. Determine selling and administrative expenses
for quarters 1, 2, and 3.
5. Complete the budgeted income statement for
quarters 1, 2, and 3.
In: Accounting
Python
ONLY ONE STATEMENT ALLOWED PER FUNCTION (ONE RETURN
STATEMENT ALLOWED)
def plsfollowrule(num):
return num
like this.
1) create a function popular. The dictionary called database contains each people's hobby and their excitement level. This function searches the dictionary and returns a list of that most popular hobby to least popular hobby. If multiple hobbies have the same number of popularity, follow alphabetical order.
#What is popular means? The dictionary contains each people's hobby. The programmer should search the dictionary and figure out how many times this hobby popular to the people.
For example
database = {'Dio': {'Lottery': 2, 'Chess': 4, 'Game': 3},'Baily': {'Game': 2, 'Tube': 1, 'Chess': 3}, 'Chico': {'Punch': 2, 'Chess': 5}, 'Aaron': {'Chess': 4, 'Tube': 2, 'Baseball': 1}}
def popular(database) -> list:
#ONE STATEMENT ALLOWED, THAT WILL BE ONE RETURN STATEMENT
output
['Chess', 'Game', 'Tube', 'Baseball', 'Lottery', 'Punch']
#Chess appear the most time which 4
#Game appear 2 times
#Tube appear 2 times but by the alphabetical order, it located after game
#baseball appear 1 time
#lottery appear 1 time but by the alphabetical order, it located after baseball
#punch appear 1 time but by the alphabetical order, it located after lottery
In: Computer Science
What are the values in arrays a, b, and c after the following code executes (list all of the elements of the arrays)?
double[] a = new double[4];
double[] b = {6,4,2};
a[a.length-1] = b[b.length-1];
double[] c = b;
c[0] = -1;
b[1] = c[2];
c = a;
c[0] = -2;
a[1] = c[3];
In: Computer Science
5. There are five buyers and five sellers in a perfectly competitive market. Each buyer wishes to purchase one single unit of the good. The willingness to pay displayed by these buyers is presented in the following table:
|
Buyer: |
1 |
2 |
3 |
4 |
5 |
|
Willingness to Pay: |
$4 |
$8 |
$2 |
$5 |
$7 |
Each firm sells also only one unit of the good. The cost of producing that unit for these firms is denoted by the following table:
|
Seller: |
1 |
2 |
3 |
4 |
5 |
|
Production Cost: |
$7 |
$2 |
$3 |
$5 |
$4 |
a) Suppose that the price for this good is set as P = 3. Is there excess demand or supply in this market? Explain.
b) Assume that in case of indifference both sellers and buyers proceed to supply and demand in this market. What is the equilibrium quantity we will observe in this market and the range of prices that would support that quantity? Explain.
c) Determine the value of the maximum total surplus that we can observe in this market. Explain.
In: Economics
If (x> 1) && ( y <11)
Display statement
else
Display nothing
2. Suppose x is 1 and y is 10. What is the output of the following code?
If (x> 1) || ( y <11)
Display statement
Else
Display nothing
3. Write a java program that prints 1 to infinite numbers.
4. The following program is supposed to write out the integers 1, 2, 3, and 4. Decide what should go in the blanks.
public class Counter
{
public static void main (String[] args)
{
int count ;
count = (blank) ;
while ( count (blank) 4 )
{
System.out.println( count );
count = count + (blank) ;
}
}
}
5. The following program is supposed to write out the integers 2, 1, 0, -1 . Decide what should go in the blanks.
public class Counter3
{
public static void main (String[] args)
{
int count ;
count = (blank) ;
while ( count >= (blank) )
{
System.out.println( count );
count = count - (blank) ;
}
}
}
6. The idea of a ______________ controlled loop is that there is a special value that says when the loop is done.
In: Computer Science
Stoney Run Construction Company (U.S. GAAP) enters into a 3-year contract to build a new warehouse facility. Information for Years 1, 2, and 3 is shown below:
|
Year 1 |
Year 2 |
Year 3 |
||
|
Sale price |
$2,800,000 |
$2,800,000 |
$2,800,000 |
|
|
Estimated costs |
1,600,000 |
2,000,000 |
2,000,000 |
|
|
Costs incurred to date (paid in cash) |
400,000 |
900,000 |
2,000,000 |
|
|
Billed to date |
250,000 |
1,150,000 |
2,800,000 |
|
|
Received in cash to date |
190,000 |
950,000 |
2,800,000 |
|
Question 4:
Calculate the gross profit booked in Year 2:
Question 5:
Book the following journal entries for Year 2:
1-Record costs incurred
2-Record billings on contract
3-Record payments received
4-Record revenue/cost during construction period
In: Accounting
In control systems analysis, transfer functions are developed that mathematically relate the dynamics of a system’s input to its output. A transfer function for a robotic positioning system is given by ?(?) = ?(?) ?(?) = ?3+12.5?2+50.5?+66 ?4+19?3+122?2+296?+192 . Where, ?(?) = system gain, ?(?) = system output, ?(?) = system input, and ? = Laplace transform complex frequency. Now, use Bairstow’s method to determine the roots of the numerator and denominator and factor these into the form ?(?) = (?+?1)(?+?2)(?+?3) (?+?1)(?+?2)(?+?3)(?+?4) . Where, ?? and ?? = the roots of the numerator and denominator, respectively. [Hints: To perform the evaluation of complex roots, Bairstow’s method divides the polynomial by a quadratic factor ?2 − ?? − ?. Use initial guesses of ? = ? = −1, for determining the roots of both numerator and denominator, and perform up to four iteration.]
In: Advanced Math
1. Given the following scenario, what would be the phenotypic outcome of this dihybrid cross for the F2 generation:
|
A) 4 birds with yellow/normal wings: 4 birds with yellow/clear wings: 4 birds with white normal wings: 4 birds with white/clear wings |
|
|
B) 16 birds with yellow/normal wings |
|
|
C) 9 birds with yellow/normal wings: 3 birds with yellow/clear wings: 3 birds with white normal wings: 1 bird with white/clear wings |
|
|
D) 8 birds with yellow/normal wings: 8 birds with white/clear wings |
2. Given the following scenario, how many birds in the F2 generation would be homozygous recessive for the clear wing trait?
|
A) 8 |
|
|
B) 4 |
|
|
C) 3 |
|
|
D) 1 |
3. Given the following scenario, how many of the birds in the F2 generation would be heterozygous for both traits:
|
A) 8 |
|
|
B) 2 |
|
|
C) 3 |
|
|
D) 4 |
In: Biology
You have just joined a lab and have obtained a flask with J558L cells. You take an aliquot of the cells, dilute the aliquot with Trypan Blue (1:1), and count the cells using a hemocytometer and obtain the following numbers:
| Transparent cells: | Blue cells: | |
| Quadrant 1 | 52 | 1 |
| Quadrant 2 | 60 | 3 |
| Quadrant 3 | 58 | 2 |
| Quadrant 4 | 51 | 2 |
| Quadrant 5 | 57 | 1 |
1) What is the cell viability?
2) What is the density of the cells (living) in the culture?
In: Biology
Program in java
1- Implement an algorithms to calculate the sum of all numbers in an array.
2- Implement an algorithm to determine if an array has all unique integer values.
3- Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]).
Return the running sum of nums.
Example 1:
Input: nums = [1,2,3,4] Output: [1,3,6,10] Explanation: Running sum is obtained as follows: [1, 1+2, 1+2+3, 1+2+3+4].
In: Computer Science