Questions
A 10-cm-long thin glass rod uniformly charged to 5.00nC and a 10-cm-long thin plastic rod uniformly...

A 10-cm-long thin glass rod uniformly charged to 5.00nC and a 10-cm-long thin plastic rod uniformly charged to - 5.00nC are placed side by side, 3.50cm apart. What are the electric field strengths E1to E3 at distances 1.0 cm, 2.0 cm, and 3.0 cm from the glass rod along the line connecting the midpoints of the two rods?Specify the electric field strength E1,E2,andE3

In: Physics

Be sure to answer all parts. Consider the reaction N2(g) + 3H2(g) → 2NH3(g) ΔH o...

Be sure to answer all parts. Consider the reaction N2(g) + 3H2(g) → 2NH3(g)

ΔH o rxn = −92.6 kJ/mol

If 4.0 moles of N2 react with 12.0 moles of H2 to form NH3, calculate the work done (in joules) against a pressure of 1.0 atm at 25°C.

?w = (Enter your answer in scientific notation.)

What is ΔU for this reaction? Assume the reaction goes to completion. ΔU = kJ

In: Chemistry

Given the performance of 3 mutual funds and S&P500 over the past 15 years in table...

Given the performance of 3 mutual funds and S&P500 over the past 15 years in table below:

Return and Risk data for 5 equity mutual funds, 15 year period

Mutual Fund

Average Return %

Standard Deviation %

Beta

R 2

1

15.86

22.85

1.46

.64

2

22.09

17.27

1.24

.79

3

18.39

11.82

0.60

.39

S&P 500

16.35

12.44

1.0

1.0

And assuming that expected market return for next year is 16.35 % and current and average of past 15 years risk free rate is 7.96 %, and using a market risk premium of 8.39% (16.35 -7.96) for the 15 year period, estimate:

a. Sharpe ratios of all 3 funds and S&P 500. Which fund has the highest risk adjusted performance according to Sharpe measure? Which of the above funds have beaten the market?
b. Treynor of all 3 funds and S&P 500. Which fund has the highest risk adjusted performance according to Treynor measure? Which of the above funds have beaten the market?
c. Jensen’s alpha for fund 1
d. Which fund is exposed to most nonsystematic risk?

In: Finance

The two rows of data below come from recorded weights of young mice raised on two...

The two rows of data below come from recorded weights of young mice raised on two different diets, labeled S1 and S2. Use these two datasets to address the following questions.

S1 5.85 6.85 7.16 5.43 5.03 6.48 3.89 5.44 6.88 5.37
S2 4.52 5.29 5.74 5.48 3.74 4.61 4.00 4.67 4.87 5.12

a) Imagine you want to conduct a conventional parametric test of H0: μ1 = μ2 versus H1: μ1 not equal to μ2. What test
would you use, what assumption(s) is(are) required for the test you will use, show how you examine the
assumption(s), and clearly state your conclusions from your examination of the assumption(s).
b) Test H0: μ1 = μ2, and clearly state your conclusion.
c) If the true difference in the mean values is 2.0, what is the power of the test given that α = 0.05?
d) If the true difference in the mean values is 1.0 and α = 0.05, what sample size is required to detect a
difference in means of 1.0 if the power of the test must be at least 0.9?
e) Repeat the test of H0: μ1 = μ2 using a nonparametric test and state your conclusion.

In: Statistics and Probability

A 9-month short position of a forward contract on a stock is entered into today, when...

A 9-month short position of a forward contract on a stock is entered into today, when the stock price is $60. The stock has expected dividends of $1.0 in 2 months, $2.0 in 5 months, and $2.0 in 7 months respectively. The risk-free interest rate is 3.0% per annum with continuous compounding.

(a) What is the forward price today?
(b) What is the initial value of the forward contract today?

(c) 3 months later, the price of the stock decreases to $55 and the risk-free interest rate remains the same. What are the forward price and the value of the forward position then?


Question 3
A 9-month short position of a forward contract on a stock is entered into today, when the stock price is $60. The stock has expected dividends of $1.0 in 2 months, $2.0 in 5 months, and $2.0 in 7 months respectively. The risk-free interest rate is 3.0% per annum with continuous compounding.
(a) What is the forward price today?
(b) What is the initial value of the forward contract today?
(c) 3 months later, the price of the stock decreases to $55 and the risk-free interest rate remains the same. What are the forward price and the value of the forward position then?

(no more information.)

In: Accounting

i just need the Polygon class Shapes In this lab you will create an interface, and...


i just need the Polygon class

Shapes

In this lab you will create an interface, and then implement that interface in three derived classes.

Your interface will be called Shape, and will define the following functions:

Return Type Name Parameters Description
double area none computes the area of the shape
double perimeter none computes the perimeter of the shape
Point2d center none computes the center of the shape
You will then create 3 implementations of this interface: Rectangle, Circle, and Polygon. Each one will need to provide implementations of area, perimeter, and center. (I have provided an implementation of Square in case you need to reference it.)

Here are the signatures of the constructors for Rectangle, Circle, and Polygon:

// Create a rectangle with p1 and p2 as opposite corners
public Rectangle(Point2d p1, Point2d p2)

// Create a circle with center 'c' and radius 'r'
public Circle(Point2d c, double r)

// Create a polygon with the given points.
public Polygon(Point2d[] pts)
Your classes will need to delare and initialize the necessary instance data to store the necessary data for each class.

Note that I have supplied a Point2d class for you. As you'll see below, this has some functions in it that you may find useful.

I assume you know from HS geometry how to computer the area, perimeter, and center of a rectangle and a circle. It may help to know that the Java library defines pi as Math.pi.

The Polygon class is a bit more complicated:

For the center of the polygon, you can simply average all the x coordinates, and all the y coordinates, then create a point with those averages as the x and y coordinates of the point.
For the perimeter, just use the distance() function in Point2d to compute the length of each edge, and add them.
For the area, I've provided a function in the Point2d class that computes the area of a triangle, given the three points. You can use this function along with the formula Area of a polygon to compute the area of the polygon.
There is one more gotcha in the Polygon class. The Point2d class is immutable (that is, a Point2d object, once created, cannot be modified), but an array is not. One of the tests will fail if you do not take this into account.

I would advise that you use incremental development here. I suggest doing things in this order:

Create the Shape interface. You'll know the Shape interface is correct when the first test passes. (None of the other test will even compile at this point.)
Create the Rectangle class. You'll know this is done correctly when the second test passes. (The other tests will still not even compile.)
Create the Circle and Polygon classes, and have them just pass back dummy data. Once this is done correctly, all the tests should compile, though they will not pass.
Finish the Circle class.
Finish the Polygon class.


// the shape interface with methods which will be implimented in the circle,
//rectangle and polygon class

public interface Shape {
public double area();
public double perimeter();
public Point2d center();
}

public class Point2d {

// NOTE: Point2d is immutable. It is safe to store a reference
// and rely on it not changing.

private double x;
private double y;
public Point2d(double x, double y) {
this.x = x;
this.y = y;
}
public double getX() {
return x;
}

public double getY() {
return y;
}

public double distance(Point2d pt) {
double dx = pt.x - x;
double dy = pt.y - y;
return Math.sqrt(dx*dx + dy*dy);
}
public static double area(Point2d a, Point2d b, Point2d c) {
return ((b.x - a.x) * (c.y - a.y) - (c.x - a.x) * (b.y - a.y)) / 2;
}
public String toString() {
return String.format("[%.4f,%.4f]", x, y);
}

public static void main(String[] args) {
// Test distance
{
Point2d p1 = new Point2d(1.0, 1.0);
Point2d p2 = new Point2d(5.0, 4.0);
System.out.println(p1.distance(p2));
System.out.println(p2.distance(p1));
}
// Test area2
{
Point2d p1 = new Point2d(1.0, 1.0);
Point2d p2a = new Point2d(5.0, 1.0);
Point2d p2b = new Point2d(1.0, 4.0);
Point2d p3 = new Point2d(5.0, 4.0);
System.out.println(area(p1, p2a, p3));
System.out.println(area(p1, p2b, p3));
}
}
}


i

In: Computer Science

Consider two local banks. Bank A has 95 loans outstanding, each for $1.0 million, that it expects will be repaid today.

Consider two local banks. Bank A has 95 loans outstanding, each for $1.0 million, that it expects will be repaid today. Each loan has a 6% probability of default, in which case the bank is not repaid anything. The chance of default is independent across all the loans. Bank B has only one loan of $95 million outstanding, which it also expects will be repaid today. It also has a 6% probability of not being repaid.

Calculate the following:

a. The expected overall payoff of each bank.

b. The standard deviation of the overall payoff of each bank.

a. The expected overall payoff of each bank.

The expected overall payoff of Bank A is ________million. (Round to the nearest integer.)

The expected overall payoff of Bank B is ________million. (Round to the nearest integer.)

b. The standard deviation of the overall payoff of each bank.

The standard deviation of the overall payoff of Bank A is _____ (Round to two decimal places.)

The standard deviation of the overall payoff of Bank B is ______ (Round to two decimal places.)

In: Finance

Suppose we can adjust a Q11B.11 Suppose we can adjust a semiconductor's band gap from 1.0...

Suppose we can adjust a Q11B.11 Suppose we can adjust a semiconductor's band gap from 1.0 eV to 2.0 eV by changing a certain impurity's concentration. (a) Other things being equal, does the semi- conductor become more conductive or less conductive as we do this? (b) By about what factor at room temperature where kBT、0.026 eV)? Explain your reasoning. (Hint: (where k T 0.026 eV)? Explain your reasoning. (Hint: How much more or less likely is it for an energy level in the conduction band to be occupied by an electron?)

In: Physics

Commercial wind turbines consists of three 6400-kg blades, each 35.0 m long. It generates 1.0 MW...

Commercial wind turbines consists of three 6400-kg blades, each 35.0 m long. It generates 1.0 MW of electrical power when it rotates with very little friction at a constant speed in the usually steady wind. However, when the wind suddenly stops,the turbine spins to a stop in 100 s. From this information, estimate the following for the situation when the wind is blowing steadily:

(a) the rotational kinetic energy of the turbine,

(b) its rotational speed, and

(c) the magnitude of its angular momentum.

In: Physics

At year-end 2016, Wallace Landscaping’s total assets were $1.0 million, and its accounts payable were $375,000....

At year-end 2016, Wallace Landscaping’s total assets were $1.0 million, and its accounts payable were $375,000. Sales, which in 2016 were $2.3 million, are expected to increase by 30% in 2017. Total assets and accounts payable are proportional to sales, and that relationship will be maintained. Wallace typically uses no current liabilities other than accounts payable. Common stock amounted to $390,000 in 2016, and retained earnings were $210,000. Wallace has arranged to sell $85,000 of new common stock in 2017 to meet some of its financing needs. The remainder of its financing needs will be met by issuing new long-term debt at the end of 2017. (Because the debt is added at the end of the year, there will be no additional interest expense due to the new debt.) Its net profit margin on sales is 5%, and 55% of earnings will be paid out as dividends.

  1. What was Wallace's total long-term debt in 2016? Do not round intermediate calculations. Round your answer to the nearest dollar.
    $
    What were Wallace's total liabilities in 2016? Do not round intermediate calculations. Round your answer to the nearest dollar.
    $
  2. How much new long-term debt financing will be needed in 2017? (Hint: AFN - New stock = New long-term debt.) Do not round intermediate calculations. Round your answer to the nearest dollar.

In: Finance