Questions
Equity Method for Stock Investment On January 4, Year 1, Ferguson Company purchased 160,000 shares of...

  1. Equity Method for Stock Investment

    On January 4, Year 1, Ferguson Company purchased 160,000 shares of Silva Company directly from one of the founders for a price of $44 per share. Silva has 400,000 shares outstanding, including the Daniels shares. On July 2, Year 1, Silva paid $432,000 in total dividends to its shareholders. On December 31, Year 1, Silva reported a net income of $1,494,000 for the year. Ferguson uses the equity method in accounting for its investment in Silva.

    a. Provide the Ferguson Company journal entries for the transactions involving its investment in Silva Company during Year 1.

    Year 1, Jan. 4 Investment in Silva Company Stock
    Cash
    Year 1, July 2 Cash
    Investment in Silva Company Stock
    Year 1, Dec. 31 Investment in Silva Company Stock
    Investment in Silva Company Stock

    Feedback

    a.

    Jan 4: Record the investment at cost.

    July 2: Calculate the ownership percentage. Under the equity method of accounting for investments, the dividends earned affect the investment account.

    Dec. 31: Calculate the ownership percentage. Under the equity method of accounting for investments, the share of income affects the investment account.

    b. Determine the December 31, Year 1, balance of Investment in Silva Company Stock.
    $

    Feedback

    b. Set up a T account for the Investment account and calculate the ending investment using your answers from requirement (a).

    Feedback

    Partially correct

Check My Work1 more Check My Work uses remaining.

In: Accounting

I need to write a program and can't seem to make it run properly. Someone can...

I need to write a program and can't seem to make it run properly.

Someone can help with the coding? It's with python

Thanks!

Here is the program:

The rules of Shut the Box are as follows (abbreviated version):
+ You have two 5-sided die
+ You have 5 wooden blocks (labeled 1 through 5)
+ Each turn, you roll the dice and knock down the blocks corresponding to the number on each die + You have to knock down one block every turn. If you can’t, you lose

+ You may knock down two blocks in your turn (e.g. if you roll a 3 and a 5 you can knock them both down)
+ You must knock down every single block to win
+ Rounds continue until either 1) all blocks are knocked down (you win!) or 2) you don't knock any blocks down in a given round (you lose!)

Use those criteria to write a Shut the Box program that displays what turn it is, rolls the dice, knocks down blocks, and displays whether the user won or loss.

Your program should have the following functions:

1. main: Begins program execution: display "Let's play Shut the Box!". Initialize five block variables all to False (representing the blocks standing up at the beginning of the game). Display the current turn (e.g. Turn: 1, Turn: 2, etc.). Call the roll_die function twice to get values for the round, then display the values rolled (e.g. "You rolled a 5 and a 3"). Process the dice values by checking to see if the block associated with the value rolled is currently standing (False) or knocked down (True). If the block is False, flip it to True (you knocked it down). Make sure to keep track of the number of die being used in a given round, because if you don't knock any blocks down in a round you lose!

2. has_won: receives all five blocks as parameter variables (Booleans) and checks whether each block is True or False (False = block is standing, True = block has been knocked down). If a block is False, return False. If all blocks are True, return True (meaning they are all knocked down, thus you won).

3. roll_die: simulates rolling of a virtual die. Returns a single random integer between 1 and 5 (inclusive).

1

Hints:

+ The five variables representing the blocks should be Booleans. Initialize them all to be False (standing up), then flip them to True as they get knocked down.
+ Need to define a number of turns variable that gets incremented (added to) each turn
+ Need to keep track of the number of die not used in that turn

+ If both die are not used (e.g. num_die_not_used == 2) in a given round, the game is over (no blocks were knocked down)

Your program should match the provided sample runs below:

Let's play Shut the Box!
Turn: 1
You rolled a 5 and a 3
You knocked down block 3
You knocked down block 5
Turn: 2

You rolled a 2 and a 4
You knocked down block 2
You knocked down block 4
Turn: 3
You rolled a 5 and a 4
You lost in 3 turns, better luck next time.

Let's play Shut the Box!
Turn: 1
You rolled a 5 and a 5
You knocked down block 5
Turn: 2
You rolled a 1 and a 3
You knocked down block 1
You knocked down block 3
Turn: 3
You rolled a 1 and a 4
You knocked down block 4
Turn: 4
You rolled a 2 and a 2
You knocked down block 2
Congrats, you won in 4 turns!

In: Computer Science

Question 1. A soil management specialist was studying the relationship between the average temperature (in ºC)...

Question 1. A soil management specialist was studying the relationship between the average temperature (in ºC) and the yield in bushels per acre for a certain crop. The data is given in Table 1 below.

Table 1

Region

Temperature

Yield

(in ºC)

(in bushels per acre)

X

Y

1

4

1

2

8

9

3

10

7

4

9

11

5

11

13

6

6

7

  1. Construct a scatter a scatter diagram for the paired data.
  2. As temperature increases, does yield appear to increase, decrease, or remain the same?
  3. Compute the coefficient of correlation, and interpret it.
  4. Compute the coefficient of determination and interpret it.


In: Advanced Math

A capacity constrained hospital outpatient laboratory services operation requires that 4 consecutive activities be performed on...

A capacity constrained hospital outpatient laboratory services operation requires that 4 consecutive activities be

performed on each patient.. The activity times and number of workers for each of the four activities are given below.

Each worker makes $15/hr. including benefits:

Activity                                    activity time (minutes/patient)                        No. workers assigned

1 reception                             10                                                        1

2 registration                          14                                                        1

   3 lab procedure                    18                                                        1

4 consult & discharge             12                                                        1

A) What is the capacity (in patients/hour ) of the hospital outpatient laboratory services operation

B) What is the bottleneck activity?

C) What is the direct labor cost per patient?

In: Operations Management

Use python Only can use if statement and loop, that's professor's requirement I have no idea...

Use python

Only can use if statement and loop, that's professor's requirement

I have no idea how to do that without class

Building Entrance
Tracker
Due to Covid-19, we can allow
only 5 guests to our building at a
time. Our task is to write a
program that helps the entrance
staff to keep track of guest entries
to the building.
Feature 1 (40 points): Each guest
must sign in upon entry into the
building. If the number of guests
currently in the building is already
at the limit of 5 persons, inform
the guest that he/she cannot
enter. Otherwise, allow entrance
and record the name of the guest
to the system.
Feature 2 (40 points): Each guest
must sign out upon exiting the
building. At sign-out, the guest
enters his/her name. If the name
is not in the system inform the
guest that this name is not in the
building. Otherwise, ask the guest
to input how long (in minutes)
he/she spent in the building.
Remove the name of the guest
from the system, and record the
time spent.
Feature 3 (40 points): When
asked for a report, the system
should display the number of
people currently in the building
along with the names of those
people. It should also report the
average number of minutes our
guests spend in the building.
Feature 0 (30 points): When we
ask to exit the program, we
should be prompted with a
warning if there are still guests in
the building. Upon confirmation,
users can still quit the program.
Make sure to include minimum
3-4 comments in your source
code.
EXAMPLE RUN:
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 0 person(s) in the building.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: Ali
Entrance allowed!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: Alice
Entrance allowed!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 2 person(s) in the building.
1 - Ali
2 - Alice
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 2
Name: John
This person is not in the building!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 2
Name: Ali
Time Spent (in Minutes): 10
Ali exited the building.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 1 person(s) in the building.
1 - Alice
People spend on average 10.0 minutes.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: John
Entrance allowed!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: Mark
Entrance allowed!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: Melissa
Entrance allowed!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: Kai
Entrance allowed!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 1
Name: Ryan
Cannot allow more than 5 people!
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 5 person(s) in the building.
1 - John
2 - Alice
3 - Mark
4 - Melissa
5 - Kai
People spend on average 10.0 minutes.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 2
Name: Alice
Time Spent (in Minutes):4
Alice exited the building.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 4 person(s) in the building.
1 - John
2 - Mark
3 - Melissa
4 - Kai
People spend on average 7.0 minutes.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 2
Name: Mark
Time Spent (in Minutes):6
Mark exited the building.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 3 person(s) in the building.
1 - John
2 - Melissa
3 - Kai
People spend on average
6.666666666666667 minutes.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 0
There are still 3 person(s) in the building
Are you sure you would like to exit the
program? (y/n) n
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 2
Name: Kai
Time Spent (in Minutes): 10
Kai exited the building.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 3
There are 2 person(s) in the building.
1 - John
2 - Melissa
People spend on average 7.5 minutes.
Building Entrance Management
=============================
1- Sign In
2- Sign Out
3- Report
0- Exit
Choice? 0
There are still 2 person(s) in the building
Are you sure you would like to exit the
program? (y/n) y
good bye!

In: Computer Science

1. what intersectionality is and why it might be important to psychologists 2. what is  the difference...

1. what intersectionality is and why it might be important to psychologists 2. what is  the difference between sex and gender (specifically!) 3.what is the three waves of gender-related research 4. what is ambivalent sexism (and its 2 components) 5. what is gender role strain (and its 2 theoretical components?

In: Psychology

JAVA Program: Computes The Molar Mass of a chemical Formula. You shall write a program that:...

JAVA Program: Computes The Molar Mass of a chemical Formula.

You shall write a program that:
-Loads chemical-element data by scanning through the file (accessed via file path or URL) exactly once.
FILENAME: Elements.txt
-Expects one or more command-line arguments that constitute a chemical formula, as described below.
*A chemical formula, for the sake of this program, shall be defined as:
One or more whitespace-delimited tokens
Each token consists of either:
An element symbol, implying one atom of that element in the compound
An element symbol followed by an underscore and an integer, implying a certain number of atoms of that element in the compound.
Example:
C_4
C O_2
C_8 H_9 N O_2

-Prints one line containing the molar mass of the compound described by the formula, to six digits after the decimal point.

*Must define two classes(ChemicalElement and MolarMass).
Make use of string.split and Integer.parseInt to seperate the element name from the number of atoms.

-The file contains one line of information about each of all 118 chemical elements. Each line contains the following data, separated by whitespace:
Atomic number (int)
Symbol (String)
Name (String)
Relative atomic mass (double)
Period (row in periodic table) (int)
Group (column in periodic table) (int)
File(Elements.txt)

1 H Hydrogen 1.008 1 1
2 He Helium 4.002602 1 18
3 Li Lithium 6.94 2 1
4 Be Beryllium 9.0121831 2 2
5 B Boron 10.81 2 13
6 C Carbon 12.011 2 14
7 N Nitrogen 14.007 2 15
8 O Oxygen 15.999 2 16
9 F Fluorine 18.998403163 2 17
10 Ne Neon 20.1797 2 18
11 Na Sodium 22.98976928 3 1
12 Mg Magnesium 24.305 3 2
13 Al Aluminium 26.9815385 3 13
14 Si Silicon 28.085 3 14
15 P Phosphorus 30.973761998 3 15
16 S Sulfur 32.06 3 16
17 Cl Chlorine 35.45 3 17
18 Ar Argon 39.948 3 18
19 K Potassium 39.0983 4 1
20 Ca Calcium 40.078 4 2
21 Sc Scandium 44.955908 4 3
22 Ti Titanium 47.867 4 4
23 V Vanadium 50.9415 4 5
24 Cr Chromium 51.9961 4 6
25 Mn Manganese 54.938044 4 7
26 Fe Iron 55.845 4 8
27 Co Cobalt 58.933194 4 9
28 Ni Nickel 58.6934 4 10
29 Cu Copper 63.546 4 11
30 Zn Zinc 65.38 4 12
31 Ga Gallium 69.723 4 13
32 Ge Germanium 72.63 4 14
33 As Arsenic 74.921595 4 15
34 Se Selenium 78.971 4 16
35 Br Bromine 79.904 4 17
36 Kr Krypton 83.798 4 18
37 Rb Rubidium 85.4678 5 1
38 Sr Strontium 87.62 5 2
39 Y Yttrium 88.90584 5 3
40 Zr Zirconium 91.224 5 4
41 Nb Niobium 92.90637 5 5
42 Mo Molybdenum 95.95 5 6
43 Tc Technetium 98 5 7
44 Ru Ruthenium 101.07 5 8
45 Rh Rhodium 102.9055 5 9
46 Pd Palladium 106.42 5 10
47 Ag Silver 107.8682 5 11
48 Cd Cadmium 112.414 5 12
49 In Indium 114.818 5 13
50 Sn Tin 118.71 5 14
51 Sb Antimony 121.76 5 15
52 Te Tellurium 127.6 5 16
53 I Iodine 126.90447 5 17
54 Xe Xenon 131.293 5 18
55 Cs Caesium 132.90545196 6 1
56 Ba Barium 137.327 6 2
57 La Lanthanum 138.90547 6 0
58 Ce Cerium 140.116 6 0
59 Pr Praseodymium 140.90766 6 0
60 Nd Neodymium 144.242 6 0
61 Pm Promethium 145 6 0
62 Sm Samarium 150.36 6 0
63 Eu Europium 151.964 6 0
64 Gd Gadolinium 157.25 6 0
65 Tb Terbium 158.92535 6 0
66 Dy Dysprosium 162.5 6 0
67 Ho Holmium 164.93033 6 0
68 Er Erbium 167.259 6 0
69 Tm Thulium 168.93422 6 0
70 Yb Ytterbium 173.045 6 0
71 Lu Lutetium 174.9668 6 3
72 Hf Hafnium 178.49 6 4
73 Ta Tantalum 180.94788 6 5
74 W Tungsten 183.84 6 6
75 Re Rhenium 186.207 6 7
76 Os Osmium 190.23 6 8
77 Ir Iridium 192.217 6 9
78 Pt Platinum 195.084 6 10
79 Au Gold 196.966569 6 11
80 Hg Mercury 200.592 6 12
81 Tl Thallium 204.38 6 13
82 Pb Lead 207.2 6 14
83 Bi Bismuth 208.9804 6 15
84 Po Polonium 209 6 16
85 At Astatine 210 6 17
86 Rn Radon 222 6 18
87 Fr Francium 223 7 1
88 Ra Radium 226 7 2
89 Ac Actinium 227 7 0
90 Th Thorium 232.0377 7 0
91 Pa Protactinium 231.03588 7 0
92 U Uranium 238.02891 7 0
93 Np Neptunium 237 7 0
94 Pu Plutonium 244 7 0
95 Am Americium 243 7 0
96 Cm Curium 247 7 0
97 Bk Berkelium 247 7 0
98 Cf Californium 251 7 0
99 Es Einsteinium 252 7 0
100 Fm Fermium 257 7 0
101 Md Mendelevium 258 7 0
102 No Nobelium 259 7 0
103 Lr Lawrencium 266 7 3
104 Rf Rutherfordium 267 7 4
105 Db Dubnium 268 7 5
106 Sg Seaborgium 269 7 6
107 Bh Bohrium 270 7 7
108 Hs Hassium 269 7 8
109 Mt Meitnerium 278 7 9
110 Ds Darmstadtium 281 7 10
111 Rg Roentgenium 282 7 11
112 Cn Copernicium 285 7 12
113 Nh Nihonium 286 7 13
114 Fl Flerovium 289 7 14
115 Mc Moscovium 290 7 15
116 Lv Livermorium 293 7 16
117 Ts Tennessine 294 7 17
118 Og Oganesson 294 7 18

In: Computer Science

Assume there is a duopoly. Assume that the market demand is : P=100-2Q       Assume the good...

Assume there is a duopoly. Assume that the market demand is : P=100-2Q       Assume the good can be produced at a constant marginal cost of 0 and that both firms have the same cost. Assume the firms act like Cournot firms.

1. What is the equation for firm 1’s demand curve?

2. What it the equation for firm 2’s demand curve?

3. What is the equation for firm 1’s reaction function?

4. What is the equation for firm 2’s reaction function?

5. What is the equilibrium price?

6. What is Firm 1’s output and profit? What is Firm 2’s output and profit?

In: Economics

In the two-period model of consumption, suppose that the first period income is $5,000 and the...

In the two-period model of consumption, suppose that the first period income is $5,000 and the second period income is $5,500 for both Jill and Jack. The interest rate is 10 percent. Jack’s lifetime utility function is ?1 + ?2 while Jill’s lifetime utility function is ?1 + 0.8?2.

1)Draw a graph that represents the common budget constraint that Jill and Jack face.

2)Draw indifference curves of Jill and Jack in separate graphs and compare the slopes of the indifference curves with the slope of the budget constraint curve.

3)Determine the optimal consumption in period 1 and 2, for both Jill and Jack.

4)If there is a borrowing constraint, whose consumption is affected by that?

In: Economics

Suppose that assets 1 and 2 are 24% correlated and have the following expected returns and...

Suppose that assets 1 and 2 are 24% correlated and have the following expected returns and standard deviations:

Asset

E(R)

σ

1

14%

9%

2

8%

4%

a) Calculate the expected return and standard deviation for a portfolio consisting of equal weights in assets 1 and 2.

b) What are the weights of a minimum variance portfolio consisting of assets 1 and 2? What is the expected return and standard deviation of this portfolio?

c) Has there been an improvement with respect to the risk-adjusted return as a result of allocating capital according to the minimum variance portfolio weights? You can assume a risk-free rate of 1.5% p.a. in answering this question.

In: Finance