Questions
The country of Freelandia gained independence a few years ago and is mounting a major effort...

The country of Freelandia gained independence a few years ago and is mounting a major effort to promote new agricultural development in previously underdeveloped regions. A trucking operator in the town of K has previously been providing only local service. Now that a new major agricultural development program is under way, this operator is considering providing farm-to-market service to carry agricultural and other natural products from their origin in locality M to market at K. The distance is 150 miles (one way), with no intermediate major settlements. After discussions with the local agents of the producers at M, the trucker estimates that the demand function for shipments from M to K is

? = ? + ?0? − ?1P

where V is volume in tons per week, Q is frequency of shipments (per week), P is price charged per ton, and a0, a1, and Z are parameters. Based upon an average traveling speed of 30 miles per hour, plus a loading or unloading time of 3 hours at each end, he estimates that he can manage at the most one round trip every two days, so Q = 3 per week. He also figures that his costs are related to the mileage he drives per week; his total cost per week is:

?? = ?0 + ?1??

where mT = 300Q is the total round-trip mileage driven and b0and b1 are parameters. The truck carries 15 tons. He is considering offering an initial frequency of 1 or 2 trips per week at a rate of $25.00 or $30.00 per ton. Assume b0 = $270, b1 = $0.50, Z = 25, a0 = 13, a1 = 1.

a. For these four combinations of frequency and price, what would be the tonnage carried, the gross revenues, the total cost, and the net revenue?

b. Which of the four options would be preferred by the operator if his objective where to maximize net revenue? To minimize costs? To maximize volume carried? Which option would be preferred by users (shippers)? Can both interests get their first choice simultaneously? If not, why not?

c. For the proposed service the predominant movement is from M to K; the amount of freight to be carried in the reverse direction is negligible. There is a possibility of  picking additional cargo at D to go to M; this would incur a detour of 100 miles additional but could result in an additional load and source of revenue. Would it be profitable for this operator to make the detour? Discuss qualitatively

In: Civil Engineering

// TASK #2 Add an import statement for the Scanner class // TASK #2(Alternate) // Add...

// TASK #2 Add an import statement for the Scanner class
// TASK #2(Alternate)
// Add an import statement for the JOptionPane class

/**
This program demonstrates how numeric types and
operators behave in Java.
*/

public class NumericTypes
{
public static void main (String [] args)
{
// TASK #2 Create a Scanner object here
// (not used for alternate)

// Identifier declarations
final int NUMBER = 2 ; // Number of scores
final int SCORE1 = 100; // First test score
final int SCORE2 = 95; // Second test score
final int BOILING_IN_F = 212; // Boiling temperature
int fToC; // Temperature Celsius
double average; // Arithmetic average
String output; // Line of output

// TASK #2 declare variables used here
// TASK #3 declare variables used here
// TASK #4 declare variables used here

// Find an arithmetic average.
average = (SCORE1 + SCORE2) / NUMBER;
output = SCORE1 + " and " + SCORE2 +
" have an average of " + average;
System.out.println(output);

// Convert Fahrenheit temperature to Celsius.
fToC = 5/9 * (BOILING_IN_F - 32);
output = BOILING_IN_F + " in Fahrenheit is " +
fToC + " in Celsius.";
System.out.println(output);
System.out.println(); // To leave a blank line

// ADD LINES FOR TASK #2 HERE
// Prompt the user for first name
// Read the user's first name
// Prompt the user for last name
// Read the user's last name
// Concatenate the user's first and last names
// Print out the user's full name

System.out.println(); // To leave a blank line

// ADD LINES FOR TASK #3 HERE
// Get the first character from the user's first name
// Print out the user's first initial
// Convert the user's full name to uppercase
// Print out the user's full name in uppercase

System.out.println(); // To leave a blank line

// ADD LINES FOR TASK #4 HERE
// Prompt the user for a diameter of a sphere
// Read the diameter
// Calculate the radius
// Calculate the volume
// Print out the volume
}
}

Task #2a Using the Scanner Class for User Input (4 pts)
⦁   Add an import statement above the class declaration to make the Scanner class available to your program.
⦁   In the main method, create a Scanner object and connect it to the System.in object.
⦁   Prompt the user to enter his or her first name.
⦁   Read the name from the keyboard using the nextLine method and store it into a variable called firstName (you will need to declare any variables you use).
⦁   Prompt the user to enter his or her last name.
⦁   Read the name from the keyboard and store it in a variable called lastName.
⦁   Concatenate the firstName and lastName with a space between them and store the result in a variable called fullName.
⦁   Print out the fullName.
⦁   Compile, debug, and run, using your name as test data.
⦁   Since we are adding on to the same program, each time we run the program we will get the output from the previous tasks before the output of the current task.
Task #2b (alternate) Using Dialog Boxes for User Input (4 pts)
⦁   Add an import statement above the class declaration to make the JOptionPane class available to your program.
⦁   In the main method, prompt the user to enter his or her first name by displaying an input dialog box and storing the user input in a variable called firstName (you will need to declare any variables you use).
⦁   Prompt the user to enter his or her last name by displaying an input dialog box and storing the user input in a variable called lastName.
⦁   Concatenate the firstName and lastName with a space between them and store the result in a variable called fullName.
⦁   Display the fullName using a message dialog box.
⦁   Compile, debug, and run, using your name as test data.
⦁   Since we are adding on to the same program, each time we run the program we will get the output from the previous tasks before the output of the current task.

Task #3 Working with Strings (4 pts)
⦁   Use the charAt method to get the first character in firstName and store it in a variable called firstInitial (you will need to declare any variables that you use).
⦁   Print out the user’s first initial.
⦁   Use the toUpperCase method to change the fullName to uppercase and store it back into the fullName variable.
⦁   Add a line that prints out the value of fullName and how many characters (including the space) are in the string stored in fullName (use the length method to obtain that information).
⦁   Compile, debug, and run. The new output added on after the output from the previous tasks should have your initials and your full name in uppercase.
Task #4 Using Predefined Math Functions (4 pts)
⦁   Add a line that prompts the user to enter the diameter of a sphere.
⦁   Read in and store the number into a variable called diameter (you will need to declare any variables that you use).
⦁   The diameter is twice as long as the radius, so calculate and store the radius in an appropriately named variable.
⦁   The formula for the volume of a sphere is:
r3
Convert the formula to Java code and add a line which calculates and stores the value of volume in an appropriately named variable. Use Math.PI for and Math.pow to cube the radius.
⦁   Print your results to the screen with an appropriate message.
⦁   Compile, debug, and run using the following test data and record the results.

Diameter   Volume (hand calculated)   Volume (resulting output)
2      
25.4      
875,000      
Task #5 Create a program from scratch (4 pts)
In this task you will create a new program that calculates gas mileage in miles per gallon. You will use string expressions, assignment statements, input and output statements to communicate with the user.

⦁   Create a new file in your IDE or text editor.
⦁   Create the shell for your first program by entering:
public class Mileage
{
   public static void main(String[] args)
   {
       // Add your declaration and code here.
   }
}
⦁   Save the file as Mileage.java.
⦁   Translate the algorithm below into Java code. Don’t forget to declare variables before they are used. Each variable must be one word only (no spaces).
Print a line indicating this program will calculate mileage
Print prompt to user asking for miles driven
Read in miles driven
Print prompt to user asking for gallons used
Read in gallons used
Calculate miles per gallon by dividing miles driven by gallons used
Print miles per gallon along with appropriate labels
⦁   Compile the program and debug, repeating until it compiles successfully.
⦁   Run the program and test it using the following sets of data and record the results:

Miles driven   Gallons used   Miles per gallon (hand calculated)   Miles per gallon
(resulting output)
2000   100      
500   25.5      
241.5   10      
100   0      

⦁   The last set of data caused the computer to divide 100 by 0, which resulted in what is called a runtime error. Notice that runtime can occur on programs which compile and run on many other sets of data. This emphasizes the need to thoroughly test you program with all possible kinds of data.
Task #6 Documenting a Java Program (2 pts)
⦁   Compare the code listings of NumericTypes.java with Mileage.java. You will see that NumericTypes.java has lines which have information about what the program is doing. These lines are called comments and are designated by the // at the beginning of the line. Any comment that starts with /** and ends with */ is considered a documentation comment. These are typically written just before a class header, giving a brief description of the class. They are also used for documenting methods in the same way.
⦁   Write a documentation comment at the top of the program which indicates the purpose of the program, your name, and today’s date.
⦁   Add comment lines after each variable declaration, indicating what each variable represents.
⦁   Add comment lines for each section of the program, indicating what is done in that section.
⦁   Finally add a comment line indicating the purpose of the calculation.

In: Computer Science

Suppose you hold a portfolio consisting of a $10,000 investment in each of 10 different common stocks.

Suppose you hold a portfolio consisting of a $10,000 investment in each of 10 different common stocks. The portfolio’s beta is 1.25. Now suppose you decided to make two changes to your portfolio as follows: 

a) sell stock X that has a beta of 1.0 and replace it with stock Y that has a beta od 1.5, and

b) sell stock W that has a beta of 1.2 and replace it with stock Z that has a beta of 2.1. What would the portfolio’s new beta be after you make the two changes?


In: Finance

Light moves from inside an ice cube to air. At what angle was the light incident upon the ice/air boundary if the refracted angle was 35°?

Question 20 

Light moves from inside an ice cube to air. At what angle was the light incident upon the ice/air boundary if the refracted angle was 35°? The index of refraction for the air is 1.0 and 1.4 for the ice.

Question 20 options:


53°


35°


12°


66°


24°


Question 203

An object is placed 10 cm in front of a concave mirror of focal length 5 cm. The image produced is

Question 23 options:


Virtual and upright


None of the above


Real and inverted


Real and upright


Virtual and inverted


In: Physics

Suppose you hold a portfolio consisting of a $10,000 investment in each of 10 different common stocks.

Suppose you hold a portfolio consisting of a $10,000 investment in each of 10 different common stocks. The portfolio’s beta is 1.25. Now suppose you decided to make two changes to your portfolio as follows:

a) sell stock X that has a beta of 1.0 and replace it with stock Y that has a beta od 1.5, and

b) sell stock W that has a beta of 1.2 and replace it with stock Z that has a beta of 2.1. What would the portfolio’s new beta be after you make the two changes?


In: Finance

You are opening a landscaping business, and wish to estimate your levered cost of equity. Beatrice's...

You are opening a landscaping business, and wish to estimate your levered cost of equity. Beatrice's Yard Maintenance has an equity beta of 1.6, and a D/E ration of 1.0. If the riskless rate is 0.03, the expected return on the S&P500 is 0.14, and your firm will have a D/E ratio of 1, what would your firm's levered cost of equity be if the tax rate is 0.29? Please give your answer in the form of a decimal to 2 places - if your answer is 10.5%, please enter 0.105.

In: Finance

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

A 10-cm-long thin glass rod uniformly charged to 15.0 nC and a 10-cm-long thin plastic rod uniformly charged to - 15.0 nC are placed side by side, 4.20 cm apart. What are the electric field strengths E1 to 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

Specify the electric field strength E2

Specify the electric field strength E3

In: Physics

1. Chlorine and fluorine gases can react to form chlorine trifluoride: Cl2(g) +    3F2(g) -->...

1. Chlorine and fluorine gases can react to form chlorine trifluoride: Cl2(g) +    3F2(g) --> 2ClF3(g)

What is the theoretical yield in grams of chlorine trifluoride (ClF3)if a 2.0 L container at 350 K initially contains Cl2 gas at a partial pressure of 1.0 atm and fluorine gas at a partial pressure of 2.0 atm?

Hint: This is a limiting reactant problem.

A.

8.6 g ClF3

B.

21.5 g ClF3

C.

13 g ClF3

D.

19.3 g ClF3

In: Chemistry

Maxwell Industries has a debt–equity ratio of 1.5. WACC is 10 percent, and its cost of...

Maxwell Industries has a debt–equity ratio of 1.5. WACC is 10 percent, and its cost of debt is 7 percent. The corporate tax rate is 35 percent. a. What is the company’s cost of equity capital? b. What is the company’s unlevered cost of equity capital? c. What would the cost of equity be if the debt–equity ratio were 2? What if it were 1.0? What if it were zero? ( kindly can u explain why are we using wacc equation in question a and why not in question c?)

In: Finance

The City of Omaha announces that a major aircraft employer will move to the area. This...

The City of Omaha announces that a major aircraft employer will move to the area. This will cause the creation of jobs amounting to 2% of the current labor force. Using the formulas for analyzing the effects of an increase in labor demand, estimate the following:

a. What will happen to the equilibrium wage and employment in the region if the wage elasticity of supply is 1.5 and the wage elasticity of demand is 1.0?

b. What would be the jobs multiplier in that case, if the initial direct change in employment is 2%?

c. What would be the effects on equilibrium wage and employment if the wage elasticity of supply were higher, at 2.0?

In: Economics