Questions
2. A corporate treasurer is looking to invest about $4 million for 60 days. Commercial paper...

2. A corporate treasurer is looking to invest about $4 million for 60 days. Commercial

paper rates are a 3.65% discount and CD rates are 3.66%.

a) (0.4’) What is the CP’s bond equivalent yield?

b) (0.3’) What is the CD’s bond equivalent yield?

c) (0.3’) Which is the better investment?

In: Finance

A bias coin has the probability 2/3 of turning up heads. The coin is thrown 4...

A bias coin has the probability 2/3 of turning up heads. The coin is thrown 4 times.
(a) What is the probability that the total number of heads shown is 3?
(b) Suppose that we know that outcome of the first throw is a head. Find the probability
that the total number of heads shown is 3.
(c) If we know that the total number of heads shown is 3, find the probability that the outcome
of the first throw was heads.

In: Math

4/2 Google provides six tools to use in evaluating the effectiveness of an advertising campaign. Choose...

4/2

Google provides six tools to use in evaluating the effectiveness of an advertising campaign. Choose three of those six. How would you apply them to a crowdsourcing advertising campaign you are building? How will the tools help you refine your campaign? How you can set goals for the allocation of advertising dollars moving forward based on the data provided? Discuss metrics such as time-on-site, bounce rate, conversion rate, ROAS (return on ad spend) and RPC (revenue per click)

In: Operations Management

What motivates you in the workplace? List 2-4 various factors that motivate you the most in...

What motivates you in the workplace? List 2-4 various factors that motivate you the most in the workplace. Why do these factors motivate you? Out of the factors you listed, which one is the most valuable in regards to motivation? Do you think workplace negativity destroys motivation?

In: Operations Management

Reflect a triangle whose vertices are ?(2, 3), ?(6, 3) and ?(4, 8) about the line...

Reflect a triangle whose vertices are ?(2, 3), ?(6, 3) and ?(4, 8) about the line ? = 3? + 4. Determine the final coordinates of the triangle. Sketch the initial and final positions

In: Mechanical Engineering

Question1) A motor shaft is subjected to 4 kN axial load and 2 kN radial load....

Question1) A motor shaft is subjected to 4 kN axial load and 2 kN radial load. shaft rotates 800 rpm and its roller bearing has lh=10000 hours working life.Choose the single row roller bearing .(define the diameter of shaft)(Can you assign it to the table pictures.)

In: Mechanical Engineering

Given are five observations for two variables, and . xi1 2 3 4 5 yi4 7...

Given are five observations for two variables, and . xi1 2 3 4 5 yi4 7 6 12 14 The estimated regression equation for these data is . a. Compute SSE, SST, and SSR using the following equations (to 1 decimal). SSE SST SSR b. Compute the coefficient of determination (to 3 decimals). Does this least squares line provide a good fit? c. Compute the sample correlation coefficient (to 4 decimals).

In: Math

WRITE MODULES TO SORT BY 2 FIELD THEN 3 FIELD, THEN 4 FIELD use data structure...




WRITE MODULES TO SORT BY 2 FIELD THEN 3 FIELD, THEN 4 FIELD use data structure to guide you. please i need help. im so glad if anyone help me. thank you a lot and be safe

// Use a custom comparator.
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;

class Emprec {
String name;
String address;
double hours;
double rate;
int dependents;
char gender;
boolean degree;

// This is the classes's constructor !!!!

Emprec(String name, String address, String hours,String dependents) {

try {
this.name = name;
this.address = address;
this.hours = Double.valueOf(hours).doubleValue();
this.dependents = Integer.parseInt(dependents);
} catch (NumberFormatException errmsg) {
System.out.println("Invalid format" + errmsg);

this.name = "";
this.hours = 0.0;

}// catch

}// Emprec constructor !!!!

double calc_fed_tax(double hours, double rate) {

double yearly_income;

yearly_income = hours * rate * 52;

if (yearly_income < 30000.00)
return (hours * rate * .28);

else if (yearly_income < 50000.00)
return (hours * rate * .32);

else
return (hours * rate * .38);

}// calc_fed_tax

double calc_state_tax(double hours, double rate) {

double state_tax;

state_tax = hours * rate * .0561;

return (state_tax);

}// calc_state_tax

public void setName(String name) {
this.name = name;
}

public String getName() {
return name;
}

public String getAddress() {
return address;
}

public double getHours() {
return hours;
}

public int getDependents() {
return dependents;
}
   
    public double getRate(){
        return rate;
    }
   
    public char getGender(){
        return gender;
    }

public String toString() {

return ("\n Name:    " + name +
"\n Address: " + address +
"\n Hours:   " + hours+
"\n Dependents " + dependents);

}// toString
}// Emprec

public class CompDemo3Sorts_Improved {
public static void main(String args[]) throws IOException {
// Create a tree set
BufferedReader inData = new BufferedReader(new InputStreamReader(
System.in));

// create strings for the input data for the Emprec object
String str_name;
String str_address;
String str_hours;
String str_dependents;

TreeSet<Emprec> ts = new TreeSet<Emprec>(new MyCompHours());// eclipse ask for casting
for (;;) {
System.out.print(" name:    ");
str_name = inData.readLine();

if (str_name.equalsIgnoreCase("exit")) break;

System.out.print(" Address: ");
str_address = inData.readLine();

System.out.print(" Hours:   ");
str_hours = inData.readLine();

System.out.print(" Dependents:   ");
str_dependents = inData.readLine();

Emprec employee = new Emprec(str_name, str_address, str_hours,str_dependents);

ts.add(employee);
}// for

// Get an iterator
Iterator<Emprec> i = ts.iterator();

// Display elements
while (i.hasNext()) {
Object element = i.next();
System.out.print(element + "\n");// calls the toString()
}//while
System.out.println();
}
}

class MyCompName implements Comparator<Object> { // eclipse ask for casting object
public int compare(Object emp1, Object emp2) {

String emp1Name = ((Emprec) emp1).getName();

String emp2Name = ((Emprec) emp2).getName();

return ((emp2Name.compareTo(emp1Name) <= 0) ? -1 : +1);

}
}


class MyCompHours implements Comparator<Object> { // eclipse ask for casting object
public int compare(Object emp1, Object emp2) {

double emp1Hours = ((Emprec) emp1).getHours();

double emp2Hours = ((Emprec) emp2).getHours();


return (emp1Hours <= emp2Hours)? -1:+1;
}
}


class MyCompAddress implements Comparator<Object> { // eclipse ask for casting object
public int compare(Object emp1, Object emp2) {

String emp1Address = ((Emprec) emp1).getAddress();

String emp2Address = ((Emprec) emp2).getAddress();


return ((emp2Address.compareTo(emp1Address) <= 0) ? -1 : +1);

}
}


class MyCompRate implements Comparator<Object>{
    public int compare(Object emp1, Object emp2){
        double emp1Rate = ((Emprec) emp1).getRate();
        double emp2Rate = ((Emprec) emp2).getRate();

        return ((emp1Rate <= emp2Rate) ? -1 : +1);
    }
}


class MyCompDependents implements Comparator<Object>{
    public int compare(Object emp1, Object emp2){
        int emp1Dependents = ((Emprec) emp1).getDependents();
        int emp2Dependents = ((Emprec) emp2).getDependents();

        return ((emp1Dependents <= emp2Dependents) ? -1 : +1);
    }
}


class MyCompGender implements Comparator<Object>{
    public int compare(Object emp1, Object emp2){
        char emp1Gender = ((Emprec) emp1).getGender();
        char emp2Gender = ((Emprec) emp2).getGender();

        return ((emp1Gender <= emp2Gender) ? -1 : +1);
    }
}

WRITE MODULES TO SORT BY 2 FIELD THEN 3 FIELD, THEN 4 FIELD use data structure to guide you. please i need help. im so glad if anyone help me. thank you a lot and be safe



In: Computer Science

Alpha Insurance Company is obligated to make payments of $2 million, $3 million, and $4 million...

Alpha Insurance Company is obligated to make payments of $2 million, $3 million, and $4 million at the end of the next three years, respectively. The market interest rate is 8% per annum.

i. Determine the duration of the company’s payment obligations.

ii. Suppose the company’s payment obligations are fully funded and immunized using both 6-month zero coupon bonds and perpetuities. Determine how much of each of these bonds the company will hold in the portfolio. (7 marks )

In: Finance

How many studs are needed to construct 100 feet of a 2 x 4 stud wall?...

How many studs are needed to construct 100 feet of a 2 x 4 stud wall? The wall has one 8-footwide window, four 4-foot-wide windows, two 36-inch-wide doors, one 30-inch-wide door, four corners, two intersections, and eight hold downs located at corners. The stud spacing is 16 inches on center. Allow for two additional studs for each corner, intersection, or doorway; six additional studs for each window less than 6 feet in length; eight additional studs for each window 6 feet or more in width; and one additional stud for each hold down located at a corner

In: Civil Engineering