Questions
Plot the unemployment rate in the US from 1980-2016 (Hint: Use the FRED web site). What...

Plot the unemployment rate in the US from 1980-2016 (Hint: Use the FRED web site). What is the average unemployment rate in this period? What is the most recent unemployment rate in the US?

Plot the percentage change (yearly) in the unemployment rate and the percentage change (yearly) in the real GDP from 1980-2016. What is the relationship between the fluctuations in the unemployment rate and the fluctuations in the real GDP?

In: Economics

You purchased a commercial building and land for $305,000 on February 1st, 2016. The land itself...

You purchased a commercial building and land for $305,000 on February 1st, 2016. The land itself was valued at $82,000 when purchased. You sold the land and building for $480,000 on March 27th of 2018. (a) What is the allowable tax depreciation amount for the year 2016? (b) What is the allowable tax depreciation amount for the year 2017? (c) What is the allowable tax depreciation amount for the year 2018?

In: Economics

I am having an issue with the code. The issue I am having removing the part...

I am having an issue with the code. The issue I am having removing the part when it asks the tuter if he would like to do teach more. I want the program to stop when the tuter reaches 40 hours. I believe the issue I am having is coming from the driver.

Source Code:

Person .java File:


public abstract class Person {
private String name;

/**
* Constructor
* @param name
*/
public Person(String name) {
super();
this.name = name;
}

/**
* @return the name
*/
public String getName() {
return name;
}

/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}

@Override
public String toString() {
return "Name: " + name;
}
  
  
}

**************************************************************************************

Student .java File:


public class Student extends Person {
private int age;
private Tuter tuter;
/**
* @param name
* @param age
* @param tuter
*/
public Student(String name, int age, Tuter tuter) {
super(name);
this.age = age;
this.tuter = tuter;
}
/**
* @return the age
*/
public int getAge() {
return age;
}
/**
* @param age the age to set
*/
public void setAge(int age) {
this.age = age;
}
/**
* @return the tuter
*/
public Tuter getTuter() {
return tuter;
}
/**
* @param tuter the tuter to set
*/
public void setTuter(Tuter tuter) {
this.tuter = tuter;
}
  
private double getDiscountAmount() {
// Calculate discount rate
double discountRate = 0;
if(this.age < 10) {
discountRate = 20;
}
  
return tuter.getTotalDue() * discountRate / 100;
}
  
@Override
public String toString() {
return "Student Name: " + super.getName() + "\nAge: " + age;
}
  
public void printInvoice() {
// Print student info
System.out.println(this.toString());
  
// Print tuter information
System.out.println(tuter.toString());
  
// print the invoices details
System.out.printf("Rate per Hour: $%.2f\n", tuter.getRatePerHour());
System.out.println("Hours of Instruction: " + tuter.getHoursOfInstrction());
  
//Print the discount applied
System.out.printf("Discount applied: $%.2f\n", this.getDiscountAmount());
System.out.printf("Total Due : $%.2f\n", (tuter.getTotalDue() - this.getDiscountAmount()));
}
}

**************************************************************************************

Tuter.java File:


public class Tuter extends Person{
private int hoursOfInstrction;
private double ratePerHour;
private final static int MAX_HOURS = 30;
public Tuter(String name) {
super(name);
this.hoursOfInstrction = 0;
this.ratePerHour = 10.00;
}
/**
* @return the hoursOfInstrction
*/
public int getHoursOfInstrction() {
return hoursOfInstrction;
}

/**
* @param hours the hoursOfInstrction to set
*/
public boolean addHoursOfInstrction(int hours) {
if(this.hoursOfInstrction + hours <= MAX_HOURS) {
this.hoursOfInstrction+= hours;
return true;
}else
return false;
}

  
public double getRatePerHour() {
return ratePerHour;
}


public void setRatePerHour(double ratePerHour) {
this.ratePerHour = ratePerHour;
}
  
  
public double getTotalDue() {
return this.getRatePerHour() * this.getHoursOfInstrction();
}

@Override
public String toString() {
return "Tuter Name: " + super.getName();
}
}

**************************************************************************************

Driver .java File


public class Driver {

public static void main(String[] args) {
//Create a Tuter object
Tuter tuter = new Tuter("Sara");
// Create a Student object and assign the tuter
Student student = new Student("Mai Do", 19, tuter);
int hours;
Scanner scan = new Scanner(System.in);
String choice;
do {
System.out.println("Enter the amount of hours:");
hours = scan.nextInt();
//If tuter can teach more
if(tuter.addHoursOfInstrction(hours)) {
System.out.println("Do you want to teach more? yes/no");
choice = scan.next();
}else
break;
}while(choice.equals("yes"));
  
student.printInvoice();

System.out.println("Another tuter:");

}
}

**************************************************************************************

In: Computer Science

Question 2: Translation is another name for protein synthesis. There are three steps that take place...

Question 2:

Translation is another name for protein synthesis. There are three steps that take place repeatedly during elongation.

a) Give the name and a short description of what happens during the first step of elongation during translation?

b) Give the name and a short description of what happens during the second step of elongation during translation?

C) Give the name and a short description of what happens during the third step of elongation during translation?

Please help! Thanks

In: Biology

1. Which chemical is formed upon the addition of HCl to methyl orange? Name (not IUPAC)...

1. Which chemical is formed upon the addition of HCl to methyl orange? Name (not IUPAC) and draw it.

2. Which chemical is formed upon the addition of NaOH to methyl orange? Name (not IUPAC) and draw it. Explain how you know.

3. Which chemical is formed upon the addition of HCl to phenolphthalein? Name (not IUPAC) and draw it.

4. Which chemical is formed upon the addition of NaOH to phenolphthalein? Name (not IUPAC) and draw it. Explain how you know.

In: Chemistry

Problem 8-35A (Part Level Submission) The Daniels Tool & Die Corporation has been in existence for...

Problem 8-35A (Part Level Submission)

The Daniels Tool & Die Corporation has been in existence for a little over three years. The company’s sales have been increasing each year as it builds a reputation. The company manufactures dies to its customers’ specifications and therefore uses a job-order cost system. Factory overhead is applied to the jobs based on direct labour hours—the absorption-costing (full) method. Overapplied or underapplied overhead is treated as an adjustment to Cost of Goods Sold. The company’s income statements and other data for the last two years are as follows:
DANIELS TOOL & DIE CORPORATION
2015–2016 Comparative Income Statements
2015 2016
Sales $832,800 $1,015,100
Cost of goods sold
Finished goods, January 1 24,100 17,900
Cost of goods manufactured 545,100 656,200
Total available 569,200 674,100
Finished goods, December 31 17,900 13,300
Cost of goods sold before overhead adjustment 551,300 660,800
Underapplied factory overhead 35,600 14,100
Cost of goods sold 586,900 674,900
Gross profit 245,900 340,200
Selling expenses 81,400 94,700
Administrative expenses 69,900 74,500
Total operating expenses 151,300 169,200
Operating income $94,600 $171,000
Daniels Tool & Die Corporation Inventory Balances
January 1, 2015 December 31, 2015 December 31, 2016
Raw material $21,500 $29,100 $11,000
Work in process $40,000 $47,300 $63,000
Direct labour hours (used in WIP) 1,320 1,670 2,120
Finished goods $24,100 $17,900 $13,300
Direct labour hours (used in FG) 1,520 1,090 820

Daniels used the same predetermined overhead rate in applying overhead to its production orders in both 2015 and 2016. The rate was based on the following estimates:
Fixed factory overhead $24,870
Variable factory overhead $154,194
Direct labour hours (used in WIP) 24,870
Direct labour costs (used in FG) $149,220

In 2015 and 2016, the actual direct labour hours used were 20,300 and 23,100, respectively. Raw materials put into production were $291,900 in 2015 and $370,200 in 2016. The actual fixed overhead was $42,300 for 2015 and $33,980 for 2016, and the planned direct labour rate was the direct labour achieved.

For both years, all of the administrative costs were fixed. The variable portion of the selling expenses results from a 5% commission that is paid as a percentage of the sales revenue.

*(a)

For the year ended December 31, 2016, prepare a revised income statement for Daniels Tool & Die Corporation using the variable-costing method. (Round answers to 0 decimal places, e.g. 5,275.)

In: Accounting

Question 2                                         &nbs

Question 2                                                                                    

In 2015, Corbus Co., a Canadian company, created a foreign subsidiary called Snazzy Ltd. by investing $2,000,000 CAD (800,000 FC) in return for all of Snazzy’s common shares. In preparing to start operations, Snazzy acquired equipment for 960,000 FC and took out a 320,000 FC loan. Snazzy is committed to repaying the loan in 3 years. In 2016, Snazzy acquired a tract of land for 320,000 FC. All dividends were paid on December 31 of the years in which they were declared.

Snazzy’s financial statements for its first 2 years of operations are presented below.

Snazzy Ltd.

Statement of Financial Position

As of December 31

(in FC)

                                                                                                      2016                          2015

Assets:

Current assets:

Cash                                                                                      $     48.000                $   256,000

Accounts receivable                                                                                64,000                        48,000

                                                                                                     112,000                     304,000

Noncurrent assets:

Land                                                                                            320,000                            -

Equipment                                                                                 960,000                      960,000

Accumulated amortization                                                     (192,000)                     (96,000)

                                                                                                   1,088,000                     864,000

Total assets                                                                           $ 1,200,000               $ 1,168,000

Liabilities and shareholder’s equity:

Current liabilities:

Accounts payable                                                                        16,000                        32,000

Noncurrent liabilities:

Loan payable                                                                              320,000                      320,000

                                                                                                      336,000                      352,000

Shareholder’s equity:

Share capital                                                                                          800,000                      800,000

Retained earnings                                                                     _64,000                      _16,000

                                                                                                      864,000                      816,000

Total liabilities and shareholder’s equity                         $ 1,200,000               $ 1,168,000

Snazzy Ltd.

Statement of Comprehensive Income

For the year ended December 31

(in FC)

                                                                                                    2016                           2015

            Revenue                                                                   $ 480,000                  $ 352,000

            Expenses:

                        Amortization                                                       96,000                        96,000

                        Interest                                                                64,000                        64,000

                        Other expenses                                               192,000                      128,000

                                                                                                   352,000                      288,000

            Net and comprehensive income                           $ 128,000                  $   64,000

Snazzy Ltd.

Statement of Changes in Equity – Retained Earnings Section

For the year ended December 31

(in FC)

                                                                                                                 2016              2015

Retained earnings, beginning of year                                         $   16,000       $          -

Net income                                                                                           128,000             64,000

Dividends declared                                                                             (80,000)          (48,000)

Retained earnings, end of year                                                    $   64,000       $    16,000

Selected exchange rates

when the equipment was purchased                              1FC = $2.30 CAD

when the loan was negotiated                                          1FC = $2.40 CAD

when the land was purchased                                          1FC = $1.90 CAD

average during 2015                                                           1FC = $2.20 CAD

December 31, 2015                                                             1FC = $2.00 CAD

Average during 2016                                                          1FC = $1.70 CAD

December 31, 2016                                                             1FC = $1.50 CAD

Required:

Assume that Snazzy’s functional currency is the Canadian dollar.

Translate Snazzy’s 2015 financial statements using the appropriate method.

Independently calculate the translation gain/loss.

Repeat (i) and (ii) for 2016.

Assume that Snazzy’s functional currency is the FC.

Translate Snazzy’s 2015 financial statements using the appropriate method.

Independently calculate the translation gain/loss.

Repeat (i) and (ii) for 2016.

In: Accounting

The Daniels Tool & Die Corporation has been in existence for a little over three years....

The Daniels Tool & Die Corporation has been in existence for a little over three years. The company’s sales have been increasing each year as it builds a reputation. The company manufactures dies to its customers’ specifications and therefore uses a job-order cost system. Factory overhead is applied to the jobs based on direct labour hours—the absorption-costing (full) method. Overapplied or underapplied overhead is treated as an adjustment to Cost of Goods Sold. The company’s income statements and other data for the last two years are as follows:

DANIELS TOOL & DIE CORPORATION
2015–2016 Comparative Income Statements
2015 2016
Sales $833,900 $1,015,100
Cost of goods sold
Finished goods, January 1 24,000 17,800
Cost of goods manufactured 544,600 654,400
Total available 568,600 672,200
Finished goods, December 31 17,800 13,300
Cost of goods sold before overhead adjustment 550,800 658,900
Underapplied factory overhead 35,800 14,100
Cost of goods sold 586,600 673,000
Gross profit 247,300 342,100
Selling expenses 81,900 94,500
Administrative expenses 69,000 74,400
Total operating expenses 150,900 168,900
Operating income $96,400 $173,200
Daniels Tool & Die Corporation Inventory Balances
January 1, 2015 December 31, 2015 December 31, 2016
Raw material $21,700 $29,900 $10,400
Work in process $40,500 $47,700 $63,400
Direct labour hours (used in WIP) 1,350 1,630 2,280
Finished goods $24,000 $17,800 $13,300
Direct labour hours (used in FG) 1,470 1,010 840


Daniels used the same predetermined overhead rate in applying overhead to its production orders in both 2015 and 2016. The rate was based on the following estimates:

Fixed factory overhead $24,790
Variable factory overhead $153,698
Direct labour hours (used in WIP) 24,790
Direct labour costs (used in FG) $148,740


In 2015 and 2016, the actual direct labour hours used were 20,200 and 23,800, respectively. Raw materials put into production were $291,500 in 2015 and $370,600 in 2016. The actual fixed overhead was $42,300 for 2015 and $23,240 for 2016, and the planned direct labour rate was the direct labour achieved.

For both years, all of the administrative costs were fixed. The variable portion of the selling expenses results from a 5% commission that is paid as a percentage of the sales revenue.

*(a)

For the year ended December 31, 2016, prepare a revised income statement for Daniels Tool & Die Corporation using the variable-costing method. (Round answers to 0 decimal places, e.g. 5,275.)

In: Accounting

Comprehensive: EPS Frost Company has accumulated the following information relevant to its 2016 earnings per share....

Comprehensive: EPS

Frost Company has accumulated the following information relevant to its 2016 earnings per share.

  1. Net income for 2016: $150,500.
  2. Bonds payable: On January 1, 2016, the company had issued 10%, $200,000 bonds at 110. The premium is being amortized in the amount of $1,000 per year. Each $1,000 bond is currently convertible into 22 shares of common stock. To date, no bonds have been converted.
  3. Bonds payable: On December 31, 2014, the company had issued $540,000 of 5.8% bonds at par. Each $1,000 bond is currently convertible into 11.6 shares of common stock. To date, no bonds have been converted.
  4. Preferred stock: On July 3, 2015, the company had issued 3,800 shares of 7.5%, $100 par, preferred stock at $108 per share. Each share of preferred stock is currently convertible into 2.45 shares of common stock. To date, no preferred stock has been converted and no additional shares of preferred stock have been issued. The current dividends have been paid.
  5. Common stock: At the beginning of 2016, 25,000 shares were outstanding. On August 3, 7,000 additional shares were issued. During September, a 20% stock dividend was declared and issued. On November 30, 2,000 shares were reacquired as treasury stock.
  6. Compensatory share options: Options to acquire common stock at a price of $33 per share were outstanding during all of 2016. Currently, 4,000 shares may be acquired. To date, no options have been exercised. The unrecognized compensation cost (net of tax) related to these options is $5 per share.
  7. Miscellaneous: Stock market prices on common stock averaged $41 per share during 2016, and the 2016 ending stock market price was $40 per share. The corporate income tax rate is 30%.

Required:

  1. Compute the basic earnings per share. Round intermediate calculations to the nearest whole number, then round your final answer to two decimal places.
    $ per share
  2. Compute the diluted earnings per share. Round intermediate calculations to the nearest whole number, then round your final answer to two decimal places.
    $ per share
  3. Indicate which earnings per share figure(s) Frost would report on its 2016 income statement.
    Choose: (1) Basic EPS only (2) Both basic and diluted EPS (3) Diluted EPS only

In: Accounting

Write an application that allows a user to enter the names and birthdates of up to...

Write an application that allows a user to enter the names and birthdates of up to 10 friends. Continue to prompt the user for names and birthdates until the user enters the sentinel value ZZZ for a name or has entered 10 names, whichever comes first. When the user is finished entering names, produce a count of how many names were entered, and then display the names. In a loop, continuously ask the user to type one of the names and display the corresponding birthdate or an error message if the name has not been previously entered. The loop continues until the user enters ZZZ for a name. Save the application as BirthdayReminder.java.

My issue in this is the loop portion. I am not sure if I have done it properly. I also need help trying to comment this code so I can explain it better. Could someone help analyze my code so that I can properly do this JAVA assignment? Please include comments as well inside the code.

Here is what I have so far:

import java.util.*;

public class BirthdayReminder{

public static void main(String[] args)

{

final int NUM_NAMES = 10;

String sentinal = "ZZZ";

int count = 0;

String name = null;

String birthdate = null;

String[] names = new String[NUM_NAMES];

String[] birthdates = new String[NUM_NAMES];

Scanner input = new Scanner(System.in);

System.out.println("Enter a name or " + sentinal + " to quit > ");

name = input.nextLine();

while(name.compareTo(sentinal)!=0 && count < NUM_NAMES)

{

System.out.println("Enter birthdate (mm/dd) > ");

birthdate = input.nextLine();

names[count] = name.trim();

birthdates[count] = birthdate.trim();

System.out.println("Enter a name or " + sentinal + " to quit > ");

name = input.nextLine();

++ count;

}

System.out.println("\nCount of names is " + count);

System.out.println("\nNames are:" + count);

for(int x = 0; x < count; ++x)

System.out.println(names[x]) ;

boolean repeat = true;

boolean found;

while(repeat)

{

found=false;

System.out.println("\nEnter a name or " + sentinal + " to quit > ");

name = input.nextLine().trim();

if(name.compareTo(sentinal)==0)

repeat = false;

else

{

for(int x = 0; x < count; ++x)

{

if(names[x].compareTo(name)==0)

{

found =true;

birthdate = birthdates[x];

break;

}

}

if(found)

System.out.println("Birthdate of " + name + " is " + birthdate);

else

System.out.println("Birthdate of " + name + " is not found");

}

}

}

}

In: Computer Science