Questions
The research department of AMS SHINE Co. Ltd estimated that the supply function for their television...

The research department of AMS SHINE Co. Ltd estimated that the supply function for their television sets is given by x r w s Qx  2000  3P  4P  P Where Px is the price of TV sets, Pr represents the price of a computer monitor, and Pw is the price of an input used to make televisions. Suppose TVs are sold for GH¢400 per unit, computer monitors are sold for GH¢100 per unit, and the price of an input is GH¢2000. (a) How many television sets are produced? (b) Drive and sketch the supply function (c) The Producer

In: Economics

In the third week of July, a random sample of 40 farming regions gave a sample...

In the third week of July, a random sample of 40 farming regions gave a sample mean of $6.88 per 100 pounds of watermelon. Assume that sigma is known to be $1.92 per 100 pounds. Find a 90% confidence interval for the population mean price per 100 pounds that farmers in this region get for their watermelon crop.  

Find each of the following:

x-bar
std dev
n
Confidence Level
Margin of Error
Point Estimate
Lower Limit
Upper Limit

Interpret the confidence interval in the context of the problem.

Please give excel functions used. Thank you for your help!

In: Statistics and Probability

On the following page are the exam scores on the first Statistics test for all my classes.

 

  1. On the following page are the exam scores on the first Statistics test for all my classes. Using everything we covered in the first three chapters of our textbook, describe the data. I recommend going through your notes and textbook, chapter by chapter. Include as much as you can – type of data, frequency distribution, histogram, numerical methods, etc. The standard deviation for the data is 16.7.

For problems 2 and 3, identify the null and alternative hypotheses, test statistic, critical value(s) and critical region or p-value, as indicated, and state the final conclusion that addresses the problem. Show all seven steps.

  1. Every semester, I would like for more than 75% of my students to score a 70 or higher on the first test. This semester, out of the 72 students who took the first test, 59 got at least a C (scored higher a 70 or higher). Is there sufficient evidence to conclude, at the 10% significance level, that more than 75% of the students got at least a C on the first exam? Find the p-value.
  1. A manufacturer makes ball bearings that are supposed to have a mean weight of 30 g. A retailer suspects that the mean weight is not 30 g. The mean weight for a random sample of 16b ball bearings is 28.4 g with a standard deviation of 4.5 g. At the 0.05 significance level, test the claim that the sample comes from a population with a mean not equal to 30 g. Find the critical value(s) and critical region.

 

  1. The Precision Scientific Instrument Company manufacturers thermometers that are supposed to give readings of 0°C at the freezing point of water. Tests on a large sample of these thermometers reveal that at the freezing point of water, some give readings below 0°C and some give readings above 0°C. Assume that the mean reading is 0°C and the standard deviation of the readings is 1.00°C. Also assume that the frequency distribution of errors closely resembles the normal distribution. A thermometer is randomly selected and tested. If 10.2% of the thermometers are rejected because they have readings that are too high and another 10.2% are rejected because they have readings that are too low, find the two readings that are cutoff values separating the rejected thermometers from the others.

Exam Scores on the First Statistics Test

100

88

  100

86

100

86

100

86

100

85

98

84

98

83

98

82

98

81

98

81

97

79

97

76

97

76

97

75

97

75

97

75

96

74

95

74

95

73

94

68

94

66

94

64

94

64

94

56

93

56

93

52

92

50

92

45

92

45

92

43

92

38

92

38

92

 

91

 

91

 

90

 

89

 

88

 

88

 

88  

 

In: Statistics and Probability

Austin Partners provides management consulting services to government and corporate clients. Austin has two support departments...

Austin Partners provides management consulting services to government and corporate clients.

Austin has two support departments —administrative services​ (AS) and information systems (IS)—and

two operating departments—government consulting​ (GOVT) and corporate consulting​ (CORP). For the first quarter of 2013​, Austin's cost records indicate the​ following:

SUPPORT

OPERATING

AS

IS

GOVT

CORP

Total

Budgeted overhead costs before any

interdepartment cost allocations

$690,000

$1,800,000

$7,325,000

$12,550,000

$22,365,000

Support work supplied by AS

(budgeted head count)

---

20%

52%

28%

100%

Support work supplied by IS

(budgeted computer time)

10%

---

36%

54%

100%

1.

Allocate the two support​ departments' costs to the two operating departments using the following​ methods:

a.

Direct method

b.

​Step-down method​ (Allocate AS​ first)

c.

​Step-down method​ (Allocate IS​ first)

2.

Compare and explain differences in the​ support-department costs allocated to each operating department.

3.

What approaches might be used to decide the sequence in which to allocate support departments when using the​ step-down method?

In: Accounting

Boston Partners provides management consulting services to government and corporate clients. Boston has two support Departments...

Boston Partners provides management consulting services to government and corporate clients.

Boston has two support Departments —administrative

services​ (AS) and information systems (IS)—and two operating departments—government

consulting​ (GOVT) and corporate consulting​ (CORP). For the first quarter of 2013​,

Boston's cost records indicate the​ following:

SUPPORT

OPERATING

AS

IS

GOVT

CORP

Total

Budgeted overhead costs before any interdepartment cost allocations

$630,000

$3,000,000

$8,725,000

$12,470,000

$24,825,000

Support work supplied by AS (budgeted head count)

0

20%

48%

32%

100%

Support work supplied by IS (budgeted computer time)

10%

0

36%

54%

100%

1.Allocate the two support​ departments' costs to the two operating departments using the following​ methods:

a.Direct method

b.​Step-down method​ (Allocate AS​ first)

c.Step-down method​ (Allocate IS​ first)

2.Compare and explain differences in the​ support-department costs allocated to each operating department.

3.What approaches might be used to decide the sequence in which to allocate support departments when using the​ step-down method?

In: Accounting

Part 1: Write a program in which you create a const whose value is determined at...

Part 1:

Write a program in which you create a const whose value is determined at runtime by reading the time when the program starts (hint: use the <ctime> standard header). In a separate function, have the program create two arrays of 10,000 doubles. Initialize the first array with sequential integral values starting with 100, and initialize the second array with the same numbers, but in reverse order (i.e., the first array would contain 100, 101, 102… while the second array contains 10,099, 10,098, 10,097…). Loop through both arrays using a single loop, and multiply the corresponding array elements from each array together and display the result. Read the time when the program completes the multiplication, and compute and display the elapsed time. Do not use inline functions in this program

Part2:

Rewrite program 1 using an inline function to perform the calculation. In the test plan for this program (actual results section), compare the time required by this program to execute against the time required by the first (non-inline) program.

Language C++

In: Computer Science

A copy machine acquired with a cost of $1,900 has an estimated useful life of 4...

A copy machine acquired with a cost of $1,900 has an estimated useful life of 4 years.  It is also expected to have a useful operating life of 10,000 copies. Assuming that it will have a salvage value of $100, determine the depreciation for the first year and second year by the (15 points)

(a)

straight-line method

(b)

double-declining-balance method

(c)

units-of-output method (4,500 copies were made the first year 3,200 copies second year)

In: Accounting

Assume a transmission line with ZL = 100 − j25 Ω and Z0 = 50 Ω....

Assume a transmission line with ZL = 100 − j25 Ω and Z0 = 50 Ω. Using the smith chart, find i) the normalised load impedance; ii) the corresponding reflection coefficient; iii) the standing wave ratio; iv) the distance between the load and the first voltage maximum; v) the distance between the load and the first voltage minimum; vi) the normalised admittance;

vii) the input impedance at 0.2λ from the load. (Show all steps on the Smith chart)

In: Electrical Engineering

You are required to read in a list of stocks from a text file “stocks.txt” and...

You are required to read in a list of stocks from a text file “stocks.txt” and write the sum and average of the stocks’ prices, the name of the stock that has the highest price, and the name of the stock that has the lowest price to an output file. The minimal number of stocks is 30 and maximal number of stocks in the input file is 50. You can download a input file “stocks.txt” from Canvas. When the program runs, it should do the following: 

May or may not use the Stock Class created in Assignment 6 and modify it as it is needed. 

The Stock class must have a constructor with 3 parameters that correspond to the 3 fields: Stock Name, Symbol, Price. o For the argument constructor, set the value of 3 fields based on the arguments. 

The Stock class must have accessors and mutators for all of its private fields. 

The setter methods must protect a user from setting the price into negative number. You can set the values to 0 if a user tries to change them to negative values. 

The program will ask user to enter a name of the input file. If the input file does not exist, the program should print an error message and terminate immediately. o To check if a file opens successfully, please use the following example as a reference: File myFile = new File(“stocks.txt”); if (!myFile.exists()){ System.exit(0); } 

If the file opens successfully, then the program reads stocks’ information and store it into an array of stocks. Each element of the array MUST be a Stock object. You should use ArrayList class. 

The program calculate the sum and average of the stocks’ prices. 

The program finds the name of the stock with the highest price and the name of the stock with the lowest price. 

The program asks user to enter a name for an output file. Then it creates the output file and write the sum, average, names of the stocks with highest and lowest price to the file.

Note: your program must be user-friendly and intuitive. This is a part of your grade. In other words, even if your program does everything the problem statement states, your grade may be reduced because of difficulty to it. Input This program requires that you read in the following data values: 

An input file name. 

An output file name. 

An input file that contains a list of stocks with their name, symbol, current price. Each line represents one stock and each field is separated by comma. The file MUST contain at least 30 stocks. o E.g., Microsoft Corporation, MSFT, 23.34 Google Inc, GOOG, 786.79 Bank of America, BAC, 16.76 AT&T Inc, T, 34.54

You will use interactive I/O in this program. All of the input must be validated if it is needed. You can assume that for a numeric input value, the grader will enter a numeric value in the testing cases.

Output Your program should display the sum and average of the list of stocks, the name of the stock with highest price and the name of the stock with lowest price on the console, and then write them to a file.

This is Assignment 6 that I completed:

SUMMARY: This program simulated the price change in the stock over time.
*/

(THIS IS ONE JAVA FILE-MAIN)

import java.text.DecimalFormat;
import java.util.*;

//main function and main code
public class HW6{
private static Scanner scan;
public static void main(String[] args) {
//declare set variables
String NameOfStock;
String SymbolofStock;
double YesterdayPrice;
double TodayPrice;
double ChangeInPrice;
double PercentInChange;
int number_of_days = 30;
//scanner
scan = new Scanner(System.in);
Stock sim = new Stock();
DecimalFormat format = new DecimalFormat("#.00");

//get the name of the stock from user
System.out.println("Please enter the name of the stock: ");
NameOfStock = scan.nextLine();
if(NameOfStock.equals("NONE")){
NameOfStock = sim.StockName;
}

//get the symbol of the stock from user
sim.setStockName(NameOfStock);
System.out.println("Please enter the symbol of the stock:");
SymbolofStock = scan.nextLine();

//If the user puts in na it sets the symbol to the default constructor
if(SymbolofStock.contentEquals("NA")){
SymbolofStock = sim.StockSymbol;
}
sim.setStockSymbol(SymbolofStock);

//get price of stock from user for yesterday
System.out.println("Please enter yesterday's price of " + NameOfStock + ": ");
YesterdayPrice = scan.nextDouble();

//If the user puts in 0 the programs sets the price to the default constructor
if(YesterdayPrice == 0){
YesterdayPrice = Stock.YesterdaysPrice;
}
sim.setYesterdayPrice(YesterdayPrice);
System.out.format("%-10s%-11s%-20s%-17s%-19s%-19s\n", "STOCK", "SYMBOL", "YESTERDAY_PRICE", "TODAY_PRICE", "PRICE_MOVEMENT", "CHANGE_PERCENT");
//Runs through what the stock will be for 30 days
for(int i = 0; i <= number_of_days; i++){
YesterdayPrice = sim.getYesterdayPrice();
TodayPrice = sim.SimulateStockPrice(YesterdayPrice);
ChangeInPrice = sim.priceDifference(TodayPrice, YesterdayPrice);
PercentInChange = sim.pricePercentDifference(YesterdayPrice, TodayPrice);
PercentInChange = Math.round(PercentInChange);
sim.setTodayPrice(TodayPrice);
System.out.format("%-12s%-14s%-18s%-18s%-20s%-22s\n", NameOfStock, SymbolofStock, format.format(YesterdayPrice), format.format(TodayPrice), format.format(ChangeInPrice), format.format(PercentInChange) + "%\n");
}
System.out.println("Goodbye!");
}
}
/*
/* ========================================================================== */
/* E N D O F P R O G R A M */
/* ========================================================================== */

(OTHER JAVA FILE-STOCK FILE)

/*
* This is the stock file
*/
import java.util.Random;
//stock function and stock code

public class Stock {
//declare set variables
String StockName = "Microsoft";
String StockSymbol = "MSFT";
static double YesterdaysPrice = 46.87;
private double TodaysPrice = 46.87;
//private double ZeroChange = 0;
//private double ZeroChangePercent = 0;
private double Change;
private double PriceNew;
private double DifferenceInPrice;
private double PerecentDifference;
  
//random generator
Random rand = new Random();

//This stores a value in the field for name
public void setStockName(String n){
if(n == "NONE"){
n = StockName;
}
StockName = n;
}
  
//This stores a value in the field for symbol
public void setStockSymbol(String s){
StockSymbol = s;
}
  
//This stores a value in the field for the current price
public void setYesterdayPrice(double cP){
if(cP < 0){
YesterdaysPrice = 0;
}
else
YesterdaysPrice = cP;
}
  
//This stores a value in the field for the next price
public void setTodayPrice(double nP){
if(nP < 0){
TodaysPrice = 0;
}
else
TodaysPrice = nP;
}

  
//This returns the stock object's name to the user
public String getStockName(){
return StockName;
}

//This returns the stock object's symbol to the user
public String getStockSymbol(){
return StockSymbol;
}
  
//This returns the stock object's current price to the user
public double getYesterdayPrice(){
return YesterdaysPrice;
}

//This returns the stock object's next price to the user
public double getTodayPrice(){
return TodaysPrice;
}
  
//This function calculates the random increase or decrease in the stock over the next 30 days
public double SimulateStockPrice(double cP){
Change = (Math.random() * ((10 - 0) + 1)) + 0;
Change = Change/100;
if(rand.nextInt(2) == 1){
PriceNew = cP - (cP * Change);
}
else
PriceNew = cP + (cP * Change);

return PriceNew;
}
  
//This shows the difference between the prices of the stock
public double priceDifference(double cP, double new_price){
DifferenceInPrice = cP - new_price;
return DifferenceInPrice;
}
  
//This shows the change in a percentage of the stock
public double pricePercentDifference(double cP, double new_price){
PerecentDifference = ((new_price/cP) * 100) - 100;
  
if(PerecentDifference < 0){
PerecentDifference = PerecentDifference + (PerecentDifference * -2);
}
return PerecentDifference;
}
}

In: Computer Science

Consider the three stocks in the following table. Pt represents price at time t, and Qt...

Consider the three stocks in the following table. Pt represents price at time t, and Qt represents shares outstanding at time t.

           Po      Q0        P1        Q1

A         87      100       92      100

B        47      200     42       200

C        94      200      104    200

What is the rate of return on the equal-weighted index of the three stocks?

O 1.92%

O 10.64%

O. 4.07%

O 4.39%

In: Finance