The relation between the real and the nominal interest rates is given by                               &

The relation between the real and the nominal interest rates is given by

                                                                   r=i-πe

  1. Suppose that the nominal interest rate is 0.05. Compute the real interest rate
    1. when the expected inflation rate is 0.07.
    2. when the expected inflation rate is 0.05.
    3. when the expected inflation rate is 0.03.
    4. The nominal interest rate is subject to the zero lower bound constraint. Find the lowest real interest rate
      1. when the expected inflation rate is 0.03.
      2. when the expected inflation rate is 0.01.
      3. when the expected inflation rate is -0.03.
      4. when the expected inflation rate is -0.05.

In: Economics

The nucleus of the hydrogen atom has a radius of about 1 x 10^-15 m. The...

The nucleus of the hydrogen atom has a radius of about
1 x 10^-15 m. The electron is normally at a distance of about 5.3 x 10^-11 m
from the nucleus. Assuming that the hydrogen atom is a sphere with a
radius of 5.3 x 10^-11 m, find (a) the volume of the atom, (b) the
volume of the nucleus, and (c) the percentage of the volume of the
atom that is occupied by the nucleus.The nucleus of the hydrogen atom has a radius of about
1 x 10^-15 m. The electron is normally at a distance of about 5.3 x 10^-11 m
from the nucleus. Assuming that the hydrogen atom is a sphere with a
radius of 5.3 x 10^-11 m, find (a) the volume of the atom, (b) the
volume of the nucleus, and (c) the percentage of the volume of the
atom that is occupied by the nucleus.

In: Physics

Write a java program, creating three threads, to sort two arrays and merge them into a...

Write a java program, creating three threads, to sort two arrays and merge them into a third array. More specifically:

Create a thread to sort the first array. Create a thread to sort the second array. Create a thread to merge the arrays into the third array. Let the main method prints the merged array.

i want three threads to be created .

You must call the two sorter threads together. In other words, if we name these threads sorta, sortb, and merge, you must call the start methods in the following sequence: sorta.start(); sortb.start(); Some java code merge.start();

I post the sequential program for this assignment. Note that you need to change the classes Sorter and Merger to make them suitable for threads.

import java.util.Random;

public class Main{
public static void main(String[] args) {
Random rand = new Random();
int size = rand.nextInt(50) + 1;
int a[] = new int[size];
size = rand.nextInt(50) + 1;
int b[] = new int[size];
for(int i = 0; i < a.length; i++)
a[i] = rand.nextInt(999);
for(int i = 0; i < b.length; i++)
b[i] = rand.nextInt(999);
new Sorter(a);
new Sorter(b);
int[] c = new int[a.length + b.length];
new Merger(a, b, c);
for(int i = 0; i < c.length; i++)
System.out.print(c[i] + " ");
}
}

-------------------------------------------------------------------

public class Merger{
public Merger(int[]a, int[] b, int[] c){
merge(a, b, c);
}

private void merge(int[] a, int[] b, int[] c){
int index = 0, i = 0, j = 0;
while(i < a.length && j < b.length)
if(a[i] < b[j])
c[index++] = a[i++];
else
c[index++] = b[j++];
if(i < a.length)
for(int k = i; i < a.length; i++)
c[index++] = a[i];
if(j < b.length)
for(int k = j; j < b.length; j++)
c[index++] = b[j];
}
}
----------------------------------------------------------------------------------------------------------------

public class Sorter{
public Sorter(int[] a){
sort(a);
}

private void sort(int[] a){
for(int i = 0; i < a.length; i++){
int pos = i;
int min = a[i];
for (int j = i + 1; j < a.length; j++)
if(a[j] < min){
min = a[j];
pos = j;
}
a[pos] = a[i];
a[i] = min;
}
}
}

In: Computer Science

On planet Tehar, the free-fall acceleration is the same as that on Earth, but there is...

On planet Tehar, the free-fall acceleration is the same as that on Earth, but there is also a strong downward electric field that is uniform close to the planet's surface. A 1.86-kg ball having a charge of 5.04 μC is thrown upward at a speed of20.1 m/s. It hits the ground after an interval of 4.10 s. What is the potential difference between the starting point and the top point of the trajectory? (Use 9.8 m/s2 for the acceleration due to gravity.)

In: Physics

Why as a Finance Major do you have to understand corporate finance? why should every finance...

Why as a Finance Major do you have to understand corporate finance? why should every finance student know this course?

In: Finance

A small start up company is planning to launch their first new electric scooter model. Explain...

A small start up company is planning to launch their first new electric scooter model. Explain the implications of industry structure & performance for the industry/market as a whole.

In: Operations Management

Why is patching software still an issue for companies in the face of current security breaches?...

  1. Why is patching software still an issue for companies in the face of current security breaches? Provide at least two issues that you consider is a result of patching software. Justify your response with one credible resource.
  2. Find another company that in the last five years has been breached and had a major impact on the stock price of that company and personal information that may have been needlessly exposing to the public. Make sure you provide a copy of the link in your response so other students may comment on your article/source.
  3. If you were the administrator for these networks what recommendations would you make? What about your home network are your updates enabled?

In: Computer Science

(20 pts) The following questions deal with the market for electricity. In column I, answer with...

  1. (20 pts) The following questions deal with the market for electricity. In column I, answer with the following key:

A: equilibrium price increases

B: equilibrium price decreases

In column II, answer with the following key:

A: equilibrium quantity increases

B: equilibrium quantity decreases

Col. I   Col. II

_____ _____ a. Consumer incomes decrease (electricity is a normal good).

____      ____ b. Taxes are increased on electrical utilities (utilities produce electricity).

____      ____c. The price of coal rises (coal is an input in producing electricity).

____      ____ d. The population grows.

____     _____ e. The price of electrical appliances increases (appliances and electricity are complements).

____     ____   f. The price of natural gas decreases (natural gas and electricity are complements).

____    _____ g. Subsidies are reduced to electric utilities.

____     _____ h. A new technology makes it cheaper to produce electricity.

____     _____ i. A negative (adverse) supply shock hits the electricity market.

____     _____ j. It is summertime, and there is a seasonal increase in the demand for electricity.

In: Economics

Stoichiometry Problems for Reaction in Aqueous Solutions -.The quantity of Cl– in a municipal water supply...

Stoichiometry Problems for Reaction in Aqueous Solutions

-.The quantity of Cl in a municipal water supply is determined by titrating the sample with Ag+. The precipitation reaction taking place during the titration is Ag(aq) + Cl(aq) ->AgCl(s)

The end point in this type of titration is marked by a change in color of a special type of indicator. (a) How many grams of chloride ion are in a sample of the water if 20.2 mL of 0.200 M Ag+ is needed to react with all the chloride in the sample? (b) If the sample has a mass of 15.0 g, what percentage of Cl does it contain?

-.A mysterious white powder is found at a crime scene. A simple chemical analysis concludes that the powder is a mixture of sugar and morphine (C17H19NO3), a weak base similar to ammonia. The crime lab takes 10.00 g of the mysterious white powder, dissolves it in 100.00 mL water, and titrates it to the equivalence point with 2.84 mL of a standard 0.100 M HCl solution. What is the percentage of morphine in the white powder?

-.A sample of an iron ore is dissolved in acid, and the iron is converted to Fe2+. The sample is then titrated with 57.20 mL of 0.05240 M MnO4 solution. The oxidation-reduction reaction that occurs during titration is

MnO4(aq) + Fe^2+(aq) +8H(aq) -> Mn^2+(aq) +5Fe^3+(aq) + 4H2O(l)

How many moles of MnO4 were added to the solution? (b) How many moles of Fe2+ were in the sample? (c) How many grams of iron were in the sample? (d) If the sample had a mass of 2.8890 g, what is the percentage of iron in the sample?

-A sample of 70.5 mg of potassium phosphate is added to 25.0 mL of 0.050 M silver nitrate, resulting in the formation of a precipitate. (a) Write the molecular equation for the reaction. (b) What is the limiting reactant in the reaction? (c) Calculate the theoretical yield, in grams, of the precipitate that forms.

In: Chemistry

Exercise 13.97 The kinetics of the following second-order reaction were studied as a function of temperature:...

Exercise 13.97

The kinetics of the following second-order reaction were studied as a function of temperature:
C2H5Br(aq)+OH?(aq)?C2H5OH(l)+Br?(aq)

Temperature (?C)

k (L/mol?s)

25

8.81

In: Chemistry

Calculate the number of pounds of CO2 released into the atmosphere when a 25.0-gallon tank of...

Calculate the number of pounds of CO2 released into the atmosphere when a 25.0-gallon tank of gasoline is burned in an automobile engine. Assume that gasoline is primarily octane, C8H18, and that the density of gasoline is 0.692 g·mL–1 (this assumption ignores additives). Also assume complete combustion.

In: Chemistry

Compare and contrast the five theories that have contributed to our understanding of human development.

Compare and contrast the five theories that have contributed to our understanding of human development.

In: Psychology

PLEASE ANSWER using R studio . VARIABLE ASSIGNMENT AND SIMPLE FUNCTIONS ## ######################################################### #Section 2 instructions:...

PLEASE ANSWER using R studio .

VARIABLE ASSIGNMENT AND SIMPLE FUNCTIONS ##
#########################################################


#Section 2 instructions:
#Answer the following questions by defining the provided objects.


#Question 2.1 (2 points)
#Create a numeric vector that contains all integers between 1 and 1,000 (inclusive)
aS2Q1 <-


#Question 2.2 (2 points)
#Create a numeric vector that contains all even integers between 2 and 1,000 (inclusive)
aS2Q2 <-


#Question 2.3 (2 points)
#Four strings are defined as character vectors below. Using the already defined
#character vectors, create a single character vector that combines all of them
#and separates the contents of each with a comma followed by a space.
str1 <- "The National Mall in Washington"
str2 <- "D.C. has monuments"
str3 <- "museums"
str4 <- "and scenery that draws many tourists from around the world."

aS2Q3 <-


#Question 2.4 (2 points)
#Translate the following mathematical function into an R function named "zFunction": z = (x + x^2 + x^3) - (y + y^2 + y^3)
#Then, evaluate for (x, y) = (3, 4) and save your answer to the provided object.

zFunction <-

aS2Q4 <-


#Question 2.5 (2 points)
#Create a four-element list where each element is your answer to questions 2.1-2.4.
#Name the four elements ans1, ans2, ans3, and ans4
aS2Q5 <-


#Question 2.6 (2 points)
#Display the element ans3 from the list created in question 2.5 using two different methods

In: Computer Science

The death rate per 100,000 for lung cancer is 7 among non-smokers and 71 among smokers....

The death rate per 100,000 for lung cancer is 7 among non-smokers and 71 among smokers. The death rate per 100,000 for coronary thrombosis is 422 among non-smokers and 599 among smokers. The prevalence of smoking in the population is 55%. Among smokers, the etiologic fraction of disease due to smoking is:

A.

cannot be determined from the information provided.

B.

0.90 for lung cancer and 0.88 for coronary thrombosis.

C.

0.90 for lung cancer and 0.29 for coronary thrombosis.

D.

0.89 for lung cancer and 0.88 for coronary thrombosis.

E.

0.89 for lung cancer and 0.29 for coronary thrombosis.

In: Other

The assignment will be graded both running and reading your code. Readability: Your code should be...

The assignment will be graded both running and reading your code.

Readability: Your code should be readable. Add comments wherever is necessary.
If needed, write helper functions to break the code into small, readable chunks.

Write two concrete classes implementing GeometricShape

The class Circle. Circle will have the following public methods:

// a constructor
Circle(Point center, int radius);

// returns the area of the circle
float getArea();

// returns the perimeter of the circle
float getPerimeter();

// prints the center of the circle and its radius
virtual void print();

The class Rectangle. Rectangle will have the following public methods:

// a constructor
Rectangle(Point topLeftPoint, int length, int width);

// returns the area of the rectangle
float getArea();

// returns the perimeter of the circle
float getPerimeter();

// prints the top left point of the rectangle, its length and width
virtual void print();

Write a function test() that tests your solutions.

In: Computer Science