Questions
A cube of ice is taken from the freezer at -9.5?Cand placed in a 95-g aluminum...

A cube of ice is taken from the freezer at -9.5?Cand placed in a 95-g aluminum calorimeter filled with 310g of water at room temperature of20.0 ?C. The final situation is observed to be all water at 15.0?C. The specific heat of ice is2100 J/kg?C?, the specific heat of aluminum is900 J/kg?C?, the specific heat of water is is4186 J/kg?C?, the heat of fusion of water is333 kJ/Kg. What was the mass of the ice cube?

In: Physics

Hi, Java Question and thanks in advance. // TODO once BoundingBox and Draw are implemented, change...

Hi, Java Question and thanks in advance.

// TODO once BoundingBox and Draw are implemented, change Fixtures.simpleCircle
// to Fixtures.complexGroup and test the app on an emulator or Android device


@Override
@SuppressLint("DrawAllocation")
protected void onDraw(final Canvas canvas) {
   final Shape shape = Fixtures.simpleCircle;
   final Location b = shape.accept(new BoundingBox());
   canvas.translate(-b.getX(), -b.getY());
   b.accept(new Draw(canvas, paint));
   shape.accept(new Draw(canvas, paint));
   canvas.translate(b.getX(), b.getY());
}
public class BoundingBox implements Visitor {

   // TODO entirely your job (except onCircle)

   @Override
   public Location onCircle(final Circle c) {
      final int radius = c.getRadius();
      return new Location(-radius, -radius, new Rectangle(2 * radius, 2 * radius));
   }

   @Override
   public Location onFill(final Fill f) {
      return null;
   }

   @Override
   public Location onGroup(final Group g) {

      return null;
   }

   @Override
   public Location onLocation(final Location l) {

      return null;
   }

   @Override
   public Location onRectangle(final Rectangle r) {
      return null;
   }

   @Override
   public Location onStrokeColor(final StrokeColor c) {
      return null;
   }

   @Override
   public Location onOutline(final Outline o) {
      return null;
   }

   @Override
   public Location onPolygon(final Polygon s) {
      return null;
   }
}
mport android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import edu.luc.etl.cs313.android.shapes.model.*;

/**
 * A Visitor for drawing a shape to an Android canvas.
 */
public class Draw implements Visitor {

   // TODO entirely your job (except onCircle)

   private final Canvas canvas;

   private final Paint paint;

   public Draw(final Canvas canvas, final Paint paint) {
      this.canvas = null; // FIXME
      this.paint = null; // FIXME
      paint.setStyle(Style.STROKE);
   }

   @Override
   public Void onCircle(final Circle c) {
      canvas.drawCircle(0, 0, c.getRadius(), paint);
      return null;
   }

   @Override
   public Void onStrokeColor(final StrokeColor c) {

      return null;
   }

   @Override
   public Void onFill(final Fill f) {

      return null;
   }

   @Override
   public Void onGroup(final Group g) {

      return null;
   }

   @Override
   public Void onLocation(final Location l) {

      return null;
   }

   @Override
   public Void onRectangle(final Rectangle r) {

      return null;
   }

   @Override
   public Void onOutline(Outline o) {

      return null;
   }

   @Override
   public Void onPolygon(final Polygon s) {

      final float[] pts = null;

      canvas.drawLines(pts, paint);
      return null;
   }
}
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import edu.luc.etl.cs313.android.shapes.model.*;
import java.util.*;

/**
 * A Visitor for drawing a shape to an Android canvas.
 */
public class Draw implements Visitor<Void> {

   // TODO entirely your job (except onCircle)

   private final Canvas canvas;

   private final Paint paint;

   public Draw(final Canvas canvas, final Paint paint) {
      this.canvas = canvas; // FIXED
      this.paint = paint; // FIXED
      paint.setStyle(Style.STROKE);
   }

   @Override
   public Void onCircle(final Circle c) {
      canvas.drawCircle(0, 0, c.getRadius(), paint);
      return null;
   }

   @Override
   public Void onStrokeColor(final StrokeColor c) {
      final int x = paint.getColor();
      paint.setColor(c.getColor());
      c.getShape().accept(this);
      paint.setColor(x);
      return null;
   }

   @Override
   public Void onFill(final Fill f) {
      final Style a = paint.getStyle();
      paint.setStyle(Style.FILL_AND_STROKE);
      f.getShape().accept(this);
      paint.setStyle(a);
      return null;
   }

   @Override
   public Void onGroup(final Group g) {
      final Iterator<? extends Shape > shape = g.getShapes().iterator();
      while (shape.hasNext()) {
         shape.next().accept(this);
      }
      return null;
   }

   @Override
   public Void onLocation(final Location l) {
      canvas.translate(l.getX(), l.getY());
      l.getShape().accept(this);
      canvas.translate(-l.getX(), -l.getY());
      return null;
   }

   @Override
   public Void onRectangle(final Rectangle r) {
      canvas.drawRect(0, 0, r.getWidth(), r.getHeight(), paint);
      return null;
   }

   @Override
   public Void onOutline(Outline o) {
      final Style before = paint.getStyle();
      paint.setStyle(Style.STROKE);
      o.getShape().accept(this);
      paint.setStyle(before);
      return null;
   }

   @Override
   public Void onPolygon(final Polygon s) {
      List<? extends Point> points = s.getPoints();
      final float[] pts =
            {
                  points.get(0).getX(), points.get(0).getY(),
                  points.get(1).getX(), points.get(1).getY(),
                  points.get(1).getX(), points.get(1).getY(),
                  points.get(2).getX(), points.get(2).getY(),
                  points.get(2).getX(), points.get(2).getY(),
                  points.get(3).getX(), points.get(3).getY(),
                  points.get(0).getX(), points.get(0).getY(),
            };
      canvas.drawLines(pts, paint);
      return null;
   }
}
* A shape visitor for calculating the bounding box, that is, the smallest
 * rectangle containing the shape. The resulting bounding box is returned as a
 * rectangle at a specific location.
 */
public class BoundingBox implements Visitor<Location> {

   // TODO entirely your job (except onCircle)

   @Override
   public Location onCircle(final Circle c) {
      final int radius = c.getRadius();
      return new Location(-radius, -radius, new Rectangle(2 * radius, 2 * radius));
   }

   @Override
   public Location onFill(final Fill f) {
      return null;
   }

   @Override
   public Location onGroup(final Group g) {

      return null;
   }

   @Override
   public Location onLocation(final Location l) {

      return null;
   }

   @Override
   public Location onRectangle(final Rectangle r) {
      return null;
   }

   @Override
   public Location onStrokeColor(final StrokeColor c) {
      return null;
   }

   @Override
   public Location onOutline(final Outline o) {
      return null;
   }

   @Override
   public Location onPolygon(final Polygon s) {
      return null;
   }
}

In: Computer Science

Which of the following would likely encourage a firm to increase the debt in its capital...

Which of the following would likely encourage a firm to increase the debt in its capital structure?

a. the corporate tax rate increases

b. the personal tax rate increases

c. due to market changes, the firm's assets become less liquid

d. changes in bankruptcy code make bankruptcy less costly to the firm

e. the firms sales and earnings become more volatile

provide rational for each letter in order to support your decision.

In: Finance

I need a couple sentences about Creating and testing JavaScript.

I need a couple sentences about Creating and testing JavaScript.

In: Computer Science

Please, how to construct a class template in Python? Class name is animal: give it a...

Please, how to construct a class template in Python?

Class name is animal:

give it a set of class variables called: gender, status

give it a set of class private variables: __heart, __lungs, __brain_size

construct methods to write and read the private class variables

in addition initiate in the constructor the following instance variables: name, location as well as initiate the variables status and gender all from constructor parameters

The variables meaning is as follows:

name is name

status is wild or domestic

location is location

gender is gender (M/F)

Private variables have all values Yes or NO only __brain_size should be a number

Be sure to provide a check on every variable that requires it.. Yes/No variables can only get values Yes/NO, Numeric variables only number. The rest does not need a check.

Finally provide a method that will print the class state on the output such as

Animal Name: Name

Animal Location: location

etc (print all parameters with the appropriate description)

All variables that you are initializing will depend on the user

In: Computer Science

A project has annual cash flows of $7,000 for the next 10 years and then $10,500...

A project has annual cash flows of $7,000 for the next 10 years and then $10,500 each year for the following 10 years. The IRR of this 20-year project is 13.96%. If the firm's WACC is 9%, what is the project's NPV? Do not round intermediate calculations. Round your answer to the nearest cent.

In: Finance

You are implementing a brand new type of ATM that provides exact amounts of cash (bills...

You are implementing a brand new type of ATM that provides exact amounts of cash (bills only, no coins). In order to maximize potential revenue an algorithm is needed that will allow for using different denomination amounts as needed by the local currency (value of bills will vary, but are integers).

  1. The program shall graphically prompt the user for a file.

  2. The program shall read the selected file of which the first line will be a space separated list of the

    bill denomination sizes.

  3. The program shall then read each line in the rest of the file containing an integer and output the

    number of different ways to produce that value using the denominations listed in the first line.

  4. The program shall indicate after that the number of milliseconds the program spent calculating

    the answer.

  5. The program shall implement 2 different forms of the algorithm: 1 recursive and 1 using dynamic

    programming.

  6. The program shall have 2 sets of output, 1 for each implementation.

  7. The program shall write the output to a file in the same directory as the input file.

  8. The program must be written in Java.

In: Computer Science

1960s migrant rights

1960s migrant rights

In: Operations Management

Project A costs $3,000, and its cash flows are the same in Years 1 through 10....

Project A costs $3,000, and its cash flows are the same in Years 1 through 10. Its IRR is 15%, and its WACC is 10%. What is the project's MIRR? Do not round intermediate calculations. Round your answer to two decimal places.

In: Finance

Pecan Theater Inc. owns and operates movie theaters throughout Florida and Ga. Pecan Theater has declared...

Pecan Theater Inc. owns and operates movie theaters throughout Florida and Ga. Pecan Theater has declared the following annual dividends over a six-year period ending December 31 of each year, the outstanding stock of the company was composed of 30,000 shares of cumulative, 4% preferred stock, $100 par, and 100,000 shares of common stock, $25 par.

1. Determine the total dividends and the per share dividends declared on each class of stock for each of the six years. There were no dividends in arrears at the beginning of Year 1. Summarize the data in tabular form. If required, round your answers to two decimal places. If the amount is zero, please enter "0".
Year.    Total Dividends. Preferred/Common
1.           48,000                 total? per share?
2.           144,000
3.           288,000
4.           276,000
5.           336,000
6.           420,000
2. Determine the average annual dividend per share for each class of stock for the six-year period. If required, round your answers to two decimal places.
Average annual dividend for preferred_____ per share
Average annual dividend for common_____per share
3. Assuming a market price per share of $253 for the preferred stock and $31 for the common stock, determine the average annual percentage return on initial shareholders' investment, based on the average annual dividend per share for preferred stock and for common stock.
Preferred stock______%
Common stock______%

In: Accounting

As Strategic Consultant to ABC Ltd., explain to the Board, a reliable approach to implementing staffing...

As Strategic Consultant to ABC Ltd., explain to the Board, a reliable approach to implementing staffing policy guidelines to ensure the reinforcement of the desired culture in the organisation essential in achieving its goals and objectives.                                                           

In: Operations Management

Given the following information about the cash flows of a project that lasts for 6 years,...

Given the following information about the cash flows of a project that lasts for 6 years, answer the next 3 questions. The initial outlay is $100,000 , incremental cash flows for the next 6 years are $20,000 , $30,000 , $40,000 , $40,000 , $70,000 , $70,000. The discount rate is 13%.

1. What is the pay back period of the project?

2. What is the NPV of the project?

3. What is the IRR of the project?

In: Finance

Twenty metrics of liquidity, Solvency, and Profitability The comparative financial statements of Automotive Solutions Inc. are...

Twenty metrics of liquidity, Solvency, and Profitability

The comparative financial statements of Automotive Solutions Inc. are as follows. The market price of Automotive Solutions Inc. common stock was $56 on December 31, 20Y8.

AUTOMOTIVE SOLUTIONS INC.
Comparative Income Statement
For the Years Ended December 31, 20Y8 and 20Y7
    20Y8     20Y7
Sales $1,314,000 $1,210,630
Cost of goods sold (429,240) (394,900)
Gross profit $884,760 $815,730
Selling expenses $(322,490) $(384,810)
Administrative expenses (274,710) (226,000)
Total operating expenses (597,200) (610,810)
Operating income $287,560 $204,920
Other revenue and expense:
    Other income 15,140 13,080
    Other expense (interest) (80,000) (44,000)
Income before income tax $222,700 $174,000
Income tax expense (26,700) (21,300)
Net income $196,000 $152,700


AUTOMOTIVE SOLUTIONS INC.
Comparative Statement of Stockholders’ Equity
For the Years Ended December 31, 20Y8 and 20Y7
20Y8 20Y7
Preferred
Stock
Common
Stock
Retained
Earnings
Preferred
Stock
Common
Stock
Retained
Earnings
Balances, Jan. 1 $200,000 $230,000 $880,675 $200,000 $230,000 $745,325
Net income 196,000 152,700
Dividends:
    Preferred stock (7,000) (7,000)
    Common stock (10,350) (10,350)
Balances, Dec. 31 $200,000 $230,000 $1,059,325 $200,000 $230,000 $880,675


AUTOMOTIVE SOLUTIONS INC.
Comparative Balance Sheet
December 31, 20Y8 and 20Y7
    Dec. 31, 20Y8     Dec. 31, 20Y7
Assets
Current assets:
Cash $267,060 $187,470
Temporary investments 404,210 310,670
Accounts receivable (net) 226,300 211,700
Inventories 175,200 131,400
Prepaid expenses 50,527 37,490
Total current assets $1,123,297 $878,730
Long-term investments 506,421 184,525
Property, plant, and equipment (net) 1,200,000 1,080,000
Total assets $2,829,718 $2,143,255
Liabilities
Current liabilities $340,393 $282,580
Long-term liabilities:
Mortgage note payable, 8%, due in 15 years $450,000 $0
Bonds payable, 8%, due in 20 years 550,000 550,000
Total long-term liabilities $1,000,000 $550,000
Total liabilities $1,340,393 $832,580
Stockholders' Equity
Preferred $0.70 stock, $20 par $200,000 $200,000
Common stock, $10 par 230,000 230,000
Retained earnings 1,059,325 880,675
Total stockholders' equity $1,489,325 $1,310,675
Total liabilities and stockholders' equity $2,829,718 $2,143,255

Instructions:

Determine the following measures for 20Y8. Round ratio values to one decimal place and dollar amounts to the nearest cent. For number of days' sales in receivables and number of days' sales in inventory, round intermediate calculations to the nearest whole dollar and final amounts to one decimal place. Assume there are 365 days in the year.

1. Working capital ________
2. Current ratio
3. Quick ratio
4. Accounts receivable turnover
5. Days' sales in receivables days
6. Inventory turnover
7. Days' sales in inventory days
8. Debt ratio %
9. Ratio of liabilities to stockholders' equity
10. Ratio of fixed assets to long-term liabilities
11. Times interest earned times
12. Times preferred dividends earned times
13. Asset turnover
14. Return on total assets %
15. Return on stockholders’ equity %
16. Return on common stockholders’ equity %
17. Earnings per share on common stock
18. Price-earnings ratio
19. Dividends per share of common stock
20. Dividend yield %

In: Accounting

Researchers have identified several reasons as to why problem-solving efforts have either failed or been mediocre....

Researchers have identified several reasons as to why problem-solving efforts have either failed or been mediocre. Some of these reasons are:

Police officers do not have the analytical skills required to analyze problems.
There is too little involvement of communities, and communities do not cooperate.
Police managers and supervisors do not know how to foster problem solving.
all of the above

In: Psychology

When circuit boards used in the manufacture of compact disc players are tested, the long run...

When circuit boards used in the manufacture of compact disc players are tested, the long run percentage of defectives is 5%. suppose that a batch of 250 boards has been received and that the condition of any particular board is independent of that of any other board.

a) Calculate the exact probability that at least 10 of the boards in the batch are defective

b) Calculate the approx probability that at least 10 of the boards in the batch are defective using a normal distribution

(Please do these problems using a R software) this is a computer assignment (show work)

In: Math