Java Program
Make an interface called interface1 that has tow data fields- default_length=1 and Pi=3.14
Make a second interface called interface2 that has one method: double getPerimeter(),
Make an abstract class GeometricObject that implements the 2 interfaces. And make one method getArea as an abstract method.
Make a subclass of GeometricObject called Square. The square class will inherit the superclass methods and implements the required abstract methods.
Make a subclass of GeometricObject called Triangle. (This is an equilateral triangle.) Triangle class will inherit the superclass methods and implements the required abstract methods.
In another class called test,using polymorphism call, declare 6 objects. The objects should be enclosed in an ArrayList of GeometricObject.
GeometricObject obj1=new Square(2);
Geometric Object obj2= new Triangle(4);
ArrayList<GeometricObject> arr=new ArrayList();
Write a for loop to extract the objects and print out their data.
In: Computer Science
NPVs, IRRs, and MIRRs for Independent Projects
Edelman Engineering is considering including two pieces of equipment, a truck and an overhead pulley system, in this year's capital budget. The projects are independent. The cash outlay for the truck is $19,000 and that for the pulley system is $20,000. The firm's cost of capital is 12%. After-tax cash flows, including depreciation, are as follows:
Year | Truck | Pulley | ||
1 | $5,100 | $7,500 | ||
2 | 5,100 | 7,500 | ||
3 | 5,100 | 7,500 | ||
4 | 5,100 | 7,500 | ||
5 | 5,100 | 7,500 |
Calculate the IRR for each project. Round your answers to two decimal places.
Truck:________%
Pulley:________%
Calculate the NPV for each project. Round your answers to the nearest dollar, if necessary. Enter each answer as a whole number. For example, do not enter 1,000,000 as 1 million.
Truck:________$
Pulley:________$
Calculate the MIRR for each project. Round your answers to two decimal places.
Truck:_______%
Pulley:_______%
In: Finance
Good evening!! i would need ideas about the following text; !) John Stuart-On liberty. i need to make a 1-page essay response.; Keep in mind what Mill has argued in this short essay on free speech. imagine this person is invited to your school, and further, that speaker holds views that are demeaning to some members of the student body.Would John Stuart Mill think it’s permissible to allow that person to speak? Why? This essay requires you to argue, with some kind of evidence from our text (include at least one cited quote) about what Mill thinks. ( !), (argue how Mill would think, based on the text.).
In: Psychology
A researcher in the lab is suddenly curious about financial decision-making in megachurches in the United States. What are important questions to ask, why are they important, and how would you start to investigate these questions?
In: Psychology
Southwest Airlines case analysis identify a major problem and sub problem
I need to know what is a major and sub problems affecting southwest airlines and give a short paragraph as to why.
In: Operations Management
Matlab work. Pleaae dont copy from any source.
Write a function that will accept a structure as an argument and return two cell arrays containing the names of the fields of that structure and the data types of each field. Be sure to check that the input argument is a structure, and generate an error message if it is not.
In: Computer Science
Consider the following regarding forward exchange rates. If the forward exchange rate on a 3 month contract is 0.904, and the spot rate is currently 0.851, the implied APR is ___%. Round your answer to three decimal places.
In: Finance
Describe how cost, demand, competition, legal considerations are taken into account when Loblaws sets prices.
In: Operations Management
Pinker (Words Don’t Mean What They Mean) and Kakutani (The Word Police) both discuss the way we use language to not quite say what we mean. They discuss ways of cloaking our language through political correctness, innuendo, ambiguity, veiled threats and others.
1) Discuss an example of one of these that you have experienced or heard. What was the effect?
In: Operations Management
1) Identify a global online retail firm and describe how it
(B)targets specific countries and
(A)engages the consumer in an interactive manner.
2) Identify five social networking sites and prepare a profile of the sites’ users in terms of demographic characteristics (for example, gender, age, geographic location). How can an international marketer use this type of information?
In: Operations Management
Define selective screening.
Define a self-fulfilling prophecy.
Define negative reinforcement.
In: Operations Management
A firm is evaluating a new project that will last 4 years. The equipment needed for this project costs $180,000 and can be depreciated using straight-line depreciation over a 6-year useful life. This project will reduce sales of an existing product by $30,000 each year. Sales of this new project are expected to be $255,000 each year and variable costs are 85% of net sales. The project also requires fixed costs of $20,000 each year. The firm will use a manufacturing plant that they purchased 3 years ago for $275,000. Currently the market value of this plant is $250,000, after taxes. At the end of 4 years, itis expected that this plant will be worth $175,000, after taxes. The project requires less working capital than the firm currently has. At the beginning of the project, the firm will be able to reduce its total working capital by $15,000. At the end of the project, working capital will have to return to its previous level, before this project was started. The firm’s marginal tax rate is 35%andthe required return on this project is 10%. Should the firm accept this project? Why or why not?
In: Finance
Scenario 2: You are the project manager of a project to install stone fireplaces at an new condo development. A total of 24 fireplaces are planned to be installed over a 4-month period. The total budget for the project is $144,000. The project is at the end of the 1st month and 5 fireplaces have been installed and $28,000 has been spent.
What is the project’s PV?
What is the project’s EV?
What is the project’s AC?
What is Cost Variance??
What is the Schedule Variance?
What is the project’s CPI?
What is the project’s SPI?
Based on your answers in questions 3-6, is the project on budget, under budget or over budget?
Based on your answers in questions 3-6, is the project on schedule, behind schedule or ahead of schedule?
In: Operations Management
Zemfira Inc., EBIT and Leverage. (Ross #1 ch.13) Zemfira Inc., has no debt outstanding and a total market value of $125,000. Earnings before interest and taxes are projected to be $10,400 if economic conditions are normal. If there is strong expansion in the economy, then EBIT will be 20 percent higher. If there is a recession, then EBIT will be 35 percent lower. Zemfira is considering a $42,000 debt issue with a 6 percent interest rate. The proceeds will be used to repurchase shares of stock. There are currently 6,250 shares outstanding. Ignore taxes for part a and b. a. Calculate EPS under each of three economic scenarios before any debt is issued. Also, calculate the percentage changes in EPS when the economy expands or enters a recession. b. Repeat part (a) assuming that Zemfira goes through with recapitalization. c. Repeat parts (a) and (b) assuming Zemfira has a tax rate of 35 percent. Will the percentage change in EPS be the same both with and without taxes? d. Suppose the company has a market-to-book ratio of 1.0 i. Calculate ROE under each of three economic scenarios before any debt is issued. Also, calculate the percentage changes in ROE for economic expansion and recession, assuming no taxes. ii. Repeat part (a) assuming the firm goes through with proposed recapitalization. iii. Repeat parts (a) and (b) assuming the firm has a tax rate of 35 percent.
In: Finance
This is in JAVA
Shapes2D
Write the following four classes to practice using an abstract class and polymorphism. Submit all four classes.
Shape2D class
For this class, include just an abstract method name get2DArea() that returns a double.
Rectangle2D class
Make this class inherit from the Shape2D class. Have it store a length and a width as fields. Provide a constructor that takes two double arguments and uses them to set the fields. Note, the area of a rectangle is the length times the width.
Circle2D class
Also make this class inherit from the Shape2D class. Have it store a radius as a field. Provide a constructor that takes a double argument and uses it to set the field. Note, the area of a circle is PI times it's radius times it's radius.
Shape2DDriver class
Have this class provide a method named displayName() that takes an object from just any of the above three classes (you can't use an Object type parameter). Have the method display the area of the object, rounded to one decimal place.
In: Computer Science