1.)Turnbull Co. is considering a project that requires an initial investment of $270,000. The firm will raise the $270,000 in capital by issuing $100,000 of debt at a before-tax cost of 10.2%, $30,000 of preferred stock at a cost of 11.4%, and $140,000 of equity at a cost of 14.3%. The firm faces a tax rate of 40%. What will be the WACC for this project? (Note: Round your intermediate calculations to three decimal places.)
2.) Consider the case of Kuhn Co.
Kuhn Co. is considering a new project that will require an initial investment of $20 million. It has a target capital structure of 58% debt, 6% preferred stock, and 36% common equity. Kuhn has noncallable bonds outstanding that mature in five years with a face value of $1,000, an annual coupon rate of 10%, and a market price of $1,050.76. The yield on the company’s current bonds is a good approximation of the yield on any new bonds that it issues. The company can sell shares of preferred stock that pay an annual dividend of $8 at a price of $95.70 per share.
Kuhn does not have any retained earnings available to finance this project, so the firm will have to issue new common stock to help fund it. Its common stock is currently selling for $22.35 per share, and it is expected to pay a dividend of $2.78 at the end of next year. Flotation costs will represent 8% of the funds raised by issuing new common stock. The company is projected to grow at a constant rate of 8.7%, and they face a tax rate of 40%. What will be the WACC for this project? (Note: Round your intermediate calculations to two decimal places.)
In: Finance
Compare the balance sheets (composition of assets and liabilities) of banks and Money Market Mutual Funds (MMMFs). How are they similar and how are they different?
In: Finance
Recursion.
Question 1
1.1 What are the 2 main components of a recursive function?
1.2 What is more efficient: an explicit loop structure or a recursive function? Explain your answer.
1.3 In what scenarios should a recursive solution be preferred to an iterative solution?
In: Computer Science
In: Operations Management
Hagar Industrial Systems Company (HISC) is trying to decide between two different conveyor belt systems. System A costs $268,000, has a four-year life, and requires $82,000 in pretax annual operating costs. System B costs $378,000, has a six-year life, and requires $76,000 in pretax annual operating costs. Both systems are to be depreciated straight-line to zero over their lives and will have zero salvage value. HISC always needs a conveyor belt system; when one wears out, it must be replaced. Assume the tax rate is 35 percent and the discount rate is 10 percent. |
What is the EAC for each project? (Do not round intermediate calculations and round your answers to 2 decimal places, e.g., 32.16. A negative answer should be indicated by a minus sign.) |
EAC | |
System A | $ |
System B | $ |
Which conveyor belt system should the firm choose? | ||||
|
In: Finance
Identify and explain the steps of a Supreme Court case. Begin with how the Supreme Court selects cases and then explain the actual steps of a Supreme Court hearing of a case. Lastly, explain the three types of opinions issued by the justices afterward.
In: Operations Management
Calculate the millimoles of sodium hypochlorite used in the reaction: 5 mL of a 5.25% solution of Clorox bleach (show detailed calculations). Compare this value with the quantity of diphenylmethanol (millimoles) to be used in the reaction. Would you describe the oxidant as being present in slight excess or large excess?
In: Chemistry
For H35Cl (ΘV = 4304 K) what is the approximate contribution of vibrational degrees of freedom to the molar constant volume heat capacity at 298 K?
In: Chemistry
Write a program that has a function (named getNumStats()) that will return a string that has stats on the number entered.
The prototype is:
string getNumStats(double);
The stats are:
Is the number an integer or a double?
The polarity (is it positive or negative; 0 counts as positive)
The parity (is it odd or even)
Is it a prime number? (for this program, 1 is considered a prime number)
For example, if the following lines of code are executed
double dNum = 14.06;
string test = getNumStats(dNum)
cout << test << endl;
The output that appears on the screen will be:
14.06 is a double
It is positive
It does not have parity
It is not a prime number
Another run is:
double dNum = -27.371;
string test = getNumStats(dNum)
cout << test << endl;
The output that appears on the screen will be:
-23.371 is a double
It is negative
It does not have parity
It is not a prime number
Note: your first line of output may or may not show trailing zeros. You may add that feature to always show zeros (even if the number is an integer)
In: Computer Science
How can I analyze "Enron Dataset" using ONLY "Naive Bayes model" or "SVM(Support Vector Machine) model" or "Decision Trees model" or "Random Forest model" or "K Nearest Neighbors model". And for what purpose the result can be used? Please give me some rough ideas and methods. No need to right down the Python codes.
In: Computer Science
Explain the similarities and differences between Drop (a table), Truncate (the data), and Delete (the data).
In: Computer Science
In: Operations Management
I created a shoppingcart program but I'm getting a few compilation failed errors:
1) Tests that ItemToPurchase("Bottled Water", "Deer Park, 12 oz.", 1, 10) correctly initializes item compilation failed
2) Tests default constructor and accessors for ShoppingCart Compilation failed
3)Tests ShoppingCart("John Doe", "February 1, 2016") correctly initializes cart Compilation failed
4) Tests that getNumItemsInCart() returns 6 (ShoppingCart) compilation failed
5) Test that getCostOfCart() returns 9 (ShoppingCart) compilation failed
Complete program:
itemtopurchase.java
public class ItemToPurchase {
// instance variables
private String itemName;
private String itemDescription;
private int itemPrice;
private int itemQuantity;
// default constructor
public ItemToPurchase() {
this.itemName = "none";
this.itemDescription = "none";
this.itemPrice = 0;
this.itemQuantity = 0;
}
public ItemToPurchase(String itemName, int itemPrice, int
itemQuantity,String itemDescription) {
this.itemName = itemName;
this.itemDescription = itemDescription;
this.itemPrice = itemPrice;
this.itemQuantity = itemQuantity;
}
// method to set name of the item
public void setName(String name) {
itemName = name;
}
// method to set price of the item
public void setPrice(int price) {
itemPrice = price;
}
// method to set quantity of the item
public void setQuantity(int quantity) {
itemQuantity = quantity;
}
public void setDescription(String description) {
itemDescription = description;
}
// method to get name of the item
public String getName() {
return itemName;
}
// method to get price of the item
public int getPrice() {
return itemPrice;
}
// method to get quantity of the item
public int getQuantity() {
return itemQuantity;
}
public String getDescription() {
return itemDescription;
}
public void printItemPurchase() {
System.out.println(itemName + " " + itemQuantity + " @ $" +
itemPrice + " = $" + (itemPrice * itemQuantity));
}
public void printItemDescription() {
System.out.println(itemName+": "+itemDescription);
}
}
shoppingcart.java
import java.util.ArrayList;
public class ShoppingCart {
//instance variables
private String customerName;
private String currentDate;
private ArrayList<ItemToPurchase> cartItems = new
ArrayList<ItemToPurchase>();
//Default constructor
public ShoppingCart() {
customerName = "";
currentDate = "";
}
//parameterized constructor
public ShoppingCart(String customerName, String currentDate)
{
this.customerName = customerName;
this.currentDate = currentDate;
}
//getter methods
public String getCustomerName() {
return customerName;
}
public String getCurrentDate() {
return currentDate;
}
//add items
public void addItem(ItemToPurchase item) {
cartItems.add(item);
}
//remove item
public void removeItem(String name) {
for (ItemToPurchase i : cartItems) {
if (i.getName().equalsIgnoreCase(name)) {
cartItems.remove(i);
return;
}
}
System.out.println("Item not found in cart");
}
//modify the item
public void modifyItem(ItemToPurchase item) {
for (int i = 0; i < cartItems.size(); i++) {
if (cartItems.get(i).getName().equalsIgnoreCase(item.getName()))
{
if (!item.getDescription().equals("none") &&
!(item.getPrice() == 0) && !(item.getQuantity() == 0))
{
cartItems.add(i, item);
return;
}
}
}
System.out.println("Item not found in cart. Nothing modified");
}
//get total number of items in the cart
public int getNumItemsIncart() {
int sum = 0;
for (ItemToPurchase i : cartItems) {
sum += i.getQuantity();
}
return sum;
}
//get total cost of items in the cart
public int getCostOfcart() {
int sum = 0;
for (ItemToPurchase i : cartItems) {
sum += i.getPrice();
}
return sum;
}
//printing total of each items
public void printTotal() {
System.out.println(customerName + "'s Shopping Cart - " +
currentDate);
if (cartItems.isEmpty()) {
System.out.println("Shopping Cart is Empty");
return;
}
System.out.println("Number of Items: " +
cartItems.size());
System.out.println();
for (ItemToPurchase i : cartItems) {
i.printItemPurchase();
}
System.out.println();
System.out.println("Total: $" + getCostOfcart());
}
//printing description of all items
public void printDescription() {
System.out.println(customerName + "'s Shopping Cart - " +
currentDate);
System.out.println();
if (cartItems.isEmpty()) {
System.out.println("Shopping Cart is Empty");
return;
}
System.out.println("Item Descriptions: ");
for (ItemToPurchase i : cartItems) {
i.printItemDescription();
}
}
}
shoppingcartmanager.java
import java.util.Scanner;
public class ShoppingCartManager {
// method to add an item in the cart
public static void addCartItem(Scanner scan, ShoppingCart cart)
{
String itemName, itemDescription;
int itemPrice, itemQuantity;
System.out.println("ADD ITEM TO CART");
System.out.print("Enter the item name : ");
itemName = scan.nextLine();
System.out.print("Enter the item description : ");
itemDescription = scan.nextLine();
System.out.print("Enter the item price : ");
itemPrice = scan.nextInt();
System.out.print("Enter the item quantity : ");
itemQuantity = scan.nextInt();
scan.nextLine();
cart.addItem(new ItemToPurchase(itemName, itemPrice, itemQuantity, itemDescription));
}
// method to remove an item from the cart
public static void removeCartItem(Scanner scan, ShoppingCart cart)
{
String itemName;
System.out.println("REMOVE ITEM FROM CART");
System.out.print("Enter the name of item to remove : ");
itemName = scan.nextLine();
cart.removeItem(itemName);
}
// method to change quantity of the cart
public static void changeItemQuantity(Scanner scan, ShoppingCart
cart) {
String itemName;
int itemQuantity;
System.out.println("CHANGE ITEM QUANTITY");
System.out.print("Enter the item name : ");
itemName = scan.nextLine();
System.out.print("Enter the new quantity : ");
itemQuantity = scan.nextInt();
scan.nextLine();
cart.modifyItem(new ItemToPurchase(itemName, 0, itemQuantity,
"none"));
}
// method to display menu choices and perform the operations on
the cart until
// the user quits
public static void printMenu(ShoppingCart cart) {
String choice;
Scanner scan = new Scanner(System.in);
do {
System.out.println("\nMENU");
System.out.println("a - Add item to cart");
System.out.println("d - Remove item from cart");
System.out.println("c - Change item quantity");
System.out.println("i - Output items' description");
System.out.println("o - Output shopping cart");
System.out.println("q - Quit");
System.out.print("\nChoose an option : ");
choice = scan.nextLine();
if (choice.equalsIgnoreCase("a")) {
addCartItem(scan, cart);
} else if (choice.equalsIgnoreCase("d")) {
removeCartItem(scan, cart);
} else if (choice.equalsIgnoreCase("c")) {
changeItemQuantity(scan, cart);
} else if (choice.equalsIgnoreCase("o")) {
System.out.println("OUTPUT SHOPPING CART");
cart.printTotal();
} else if (choice.equalsIgnoreCase("i")) {
System.out.println("OUTPUT ITEMS' DESCRIPTION");
cart.printDescription();
} else if (!choice.equalsIgnoreCase("q"))
System.out.println("Invalid choice");
} while (!choice.equalsIgnoreCase("q"));
}
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
// taking user input
System.out.println("Enter Customer's Name:");
String name = sc.nextLine();
System.out.println("Enter Today's Date:");
String date = sc.nextLine();
// printing user input
System.out.println();
System.out.println("Customer Name: " + name);
System.out.println("Today's Date: " + date);
ShoppingCart cart = new ShoppingCart(name, date);// created
shopping cart object
printMenu(cart);
}
}
In: Computer Science
Bledsoe Corporation has provided the following data for the month of November:
Beginning | Ending | ||||||||
Raw materials | $ | 25,900 | $ | 21,900 | |||||
Work in process | $ | 17,900 | $ | 10,900 | |||||
Finished Goods | $ | 48,900 | $ | 56,900 | |||||
Additional information:
Raw materials purchases | $ | 72,900 | |||||
Direct labor cost | $ | 92,900 | |||||
Manufacturing overhead cost incurred | $ | 42,990 | |||||
Indirect materials included in manufacturing overhead cost incurred | $ | 4,090 | |||||
Manufacturing overhead cost applied to Work in Process | $ | 41,900 | |||||
Any underapplied or overapplied manufacturing overhead is closed out to cost of goods sold.
Required:
Prepare a Schedule of Cost of Goods Manufactured and a Schedule of Cost of Goods Sold.
In: Accounting
How could I implement the contain and min method for a tree in this code. import java.util.List; import edu.princeton.cs.algs4.*; class ProgrammingAssignment1 { //////////////////// EXERCICE 1: TWO THREE TREES static public <Key extends Comparable<Key>> int size (NakedTree<Key> tree) { if (tree == null) return 0; int val = tree.getNKeys (); for (int i = 0; i <= tree.getNKeys (); ++i) val += size (tree.getChild (i)); return val; } //////// EXERCICE 1.1: contains AND min static public <Key extends Comparable<Key>> boolean contains (NakedTree<Key> tree, Key key) { }
In: Computer Science