Problem 5
Along these same lines, the trucks used to deliver items were “gently” used when Frankie first purchased them, and that was 10 years ago. They have been kept up with routine maintenance, but problems seem to be happening with frightening regularity recently. The tab “Break downs” contains records of how many trucks broke down per week, how much a break down costs, and the amount it would cost to replace the truck with a newer model. Determine the amount that OESCo is currently spending to repair their trucks, and consequently if it makes sense to upgrade the fleet of trucks.
| Week Beginning | 1-Oct | 8-Oct | 15-Oct | 22-Oct | 29-Oct | 5-Nov | 12-Nov | 19-Nov | 26-Nov | 3-Dec | 10-Dec | 17-Dec | 24-Dec | 31-Dec | 7-Jan | 14-Jan | 21-Jan | 28-Jan | 4-Feb | 11-Feb | 18-Feb | 25-Feb | 4-Mar | 11-Mar | 18-Mar | 25-Mar | |
| No. of Break Downs | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 2 | 1 | 1 | 2 | 1 | 0 | 1 | 1 | 2 | 2 | 0 | 2 | 0 | 2 | |
| Cost per Breakdown | $500 | ||
| Break Downs per Week | |||
| Break Down Cost per Week | |||
| Cost per Week to Upgrade Fleet | $633 | ||
| Worth it to Upgrade? | |||
Use Excel, show formulas you used in highlighted cells.
In: Statistics and Probability
The following time series shows the sales of a particular product over the past 12 months.
| Month | Sales |
|---|---|
| 1 | 105 |
| 2 | 135 |
| 3 | 120 |
| 4 | 105 |
| 5 | 90 |
| 6 | 120 |
| 7 | 145 |
| 8 | 140 |
| 9 | 100 |
| 10 | 80 |
| 11 | 100 |
| 12 | 110 |
Use α = 0.5 to compute the exponential smoothing forecasts for the time series. (Round your answers to two decimal places.)
| Month t | Time Series Value
Yt |
Forecast
Ft |
|---|---|---|
| 1 | 105 | |
| 2 | 135 | |
| 3 | 120 | |
| 4 | 105 | |
| 5 | 90 | |
| 6 | 120 | |
| 7 | 145 | |
| 8 | 140 | |
| 9 | 100 | |
| 10 | 80 | |
| 11 | 100 | |
| 12 | 110 |
Use a smoothing constant of α = 0.7 to compute the exponential smoothing forecasts. (Round your answers to two decimal places.)
| Month t | Time Series Value
Yt |
Forecast
Ft |
|---|---|---|
| 1 | 105 | |
| 2 | 135 | |
| 3 | 120 | |
| 4 | 105 | |
| 5 | 90 | |
| 6 | 120 | |
| 7 | 145 | |
| 8 | 140 | |
| 9 | 100 | |
| 10 | 80 | |
| 11 | 100 | |
| 12 | 110 |
| Week | Sales (1,000s of gallons) |
|---|---|
| 1 | 17 |
| 2 | 22 |
| 3 | 19 |
| 4 | 24 |
| 5 | 19 |
| 6 | 16 |
| 7 | 21 |
| 8 | 19 |
| 9 | 23 |
| 10 | 20 |
| 11 | 16 |
| 12 | 22 |
(a) Compute four-week and five-week moving averages for the time series.
| Week | Time Series Value |
4-Week Moving Average Forecast |
5-Week Moving Average Forecast |
|---|---|---|---|
| 1 | 17 | ||
| 2 | 22 | ||
| 3 | 19 | ||
| 4 | 24 | ||
| 5 | 19 | ||
| 6 | 16 | ||
| 7 | 21 | ||
| 8 | 19 | ||
| 9 | 23 | ||
| 10 | 20 | ||
| 11 | 16 | ||
| 12 | 22 |
Compute the MSE for the four-week moving average forecasts. (Round your answer to two decimal places.)
Compute the MSE for the five-week moving average forecasts. (Round your answer to two decimal places.)
In: Statistics and Probability
Over a 4 year period the Yellow corporation purchased 100% of the outstanding voting shares of Green Co. The acquisition was made in a series of steps as follows...
Date % Purchase Price
January, Year 1 5% 5,000
January, Year 2 10% 12,000
January, Year 3 10% 15,000
January, Year 4 75% 200,000
Total 100% 232,000
Any excess of the purchase price over the net book value of the assets was attributed to goodwill.
The acquisition in Year 3 allowed Yellow to have significant influence over the operating policies of Green.
The acquisition in Year 4 gave Yellow control over Green.
Operating results, dividends paid and fair value of White for the 4 years were as follows:
Net Income Dividend Paid Fair Value
January Year 1 100,000
Year 1 25,000 15,000 120,000
Year 2 30,000 15,000 150,000
Year 3 40,000 20,000 170,000
Year 4 50,000 25,000 250,000
For each of the 4 years compute the amount of income that will be record on Yellow's Books related to its Investment in Green Co.
AND compute the balance in the "Investment in Green Co." account on Yellow's books at December 31 of each year.
In: Accounting
Comparing Three Depreciation Methods
Waylander Coatings Company purchased waterproofing equipment on January 6 for $321,800. The equipment was expected to have a useful life of four years, or 7,200 operating hours, and a residual value of $26,600. The equipment was used for 2,700 hours during Year 1, 2,200 hours in Year 2, 1,300 hours in Year 3, and 1,000 hours in Year 4.
Required:
1. Determine the amount of depreciation expense
for the years ended December 31, Year 1, Year 2, Year 3, and Year
4, by (a) the straight-line method, (b) the units-of-activity
method, and (c) the double-declining-balance method. Also determine
the total depreciation expense for the four years by each
method.
Note: FOR DECLINING BALANCE ONLY, round the multiplier to four
decimal places. Then round the answer for each year to the nearest
whole dollar.
Depreciation Expense
Year Straight-Line Method Units-of-Activity Method Double-Declining-Balance Method
Year 1 $_______________ $___________________ $______________________
Year 2 $_______________ $___________________ $______________________
Year 3 $_______________ $___________________ $______________________
Year 4 $_______________ $___________________ $______________________
Total $_______________ $___________________ $______________________
What method yields the highest depreciation expense for Year 1?
______________
What method yields the most
depreciation over the four-year life of the equipment?
_______________
In: Accounting
The board of directors of General Wheels Co. is considering seven large capital investments. Each investment can be made only once. These investments differ in the estimated long-run profit (net present value) that they will generate as well as in the amount of capital required, as shown by the following table.
|
Investment opportunity |
Estimated profit ($million) |
Capital required ($million) |
|
1 |
$17 |
$43 |
|
2 |
$10 |
$28 |
|
3 |
$15 |
$34 |
|
4 |
$19 |
$48 |
|
5 |
$7 |
$17 |
|
6 |
$13 |
$32 |
|
7 |
$9 |
$23 |
The total amount of capital available for these investments is $100 million. Investment opportunities 1 and 2 are mutually exclusive (i.e., they cannot be chosen simultaneously), and so are 3 and 4. Furthermore, 5 can be undertaken only if both 1 and 3 are taken. Opportunity 7 has to be chosen if both 2 and 4 are selected, and Opportunity 7 cannot be invested unless at least one of 5 and 6 is invested. The objective is to select the combination of capital investments that will maximize the total estimated long-run profit (net present value). Formulate this problem as an integer programming model.
Decision variables (1 mark):
Objective function (1 mark):
Constraints (7 mark):
In: Operations Management
Using C++,
Write a program that will use pointer syntax to access variables, dynamically allocate memories, and pass pointers to functions.
1. The program should ask the user to enter a size to the array.
2. The program should dynamically allocate an array with the size.
3. The program should then ask user to input values to the array
4. The program should then find the maximum, display all elements forward and reversed using two different ways of pointer access
5. The program must use functions with pointers as parameters.
6. The manipulation/access of the array must be done through pointer syntax.
7. Your main function should only declare the variables and call the functions.
Variable:
You’ll need the following pointer to be declared in your main function.
float * ptData;
Data Validation:
1. The size of the array cannot be less or equal to 1 (E.g. 2, 5, 100 is fine, but 1 or 0 is no acceptable).
2. Check if pointer has successfully allocated the array.
Functions:
You should have separate functions to handle user input, maximum, and display the array (all the values needs to be returned to the function call, you need to have pointer as the input parameter). Main function should only call other functions.
|
Function Header |
Explanation |
|
void getSize(int * ptr) |
This function will ask user to enter a size to the array. The size of the array cannot be less or equal to 1. For example: 2, 5, 100 is fine, but 1 or 0 is no acceptable. |
|
float * getValues(const int SIZE) |
This function will declare and use a pointer to dynamically allocate an array with the size user has entered. The pointer should be returned to the function’s call. Check if pointer has successfully allocated the array. |
|
float getMax(const float * ptr, const int SIZE) |
This function will find and return the maximum value of the array using pointer syntax. |
|
void displayForward(const float * ptr, const int SIZE) |
This function should display all array elements forward (from the first to the last) |
|
void displayBackward(float * const ptr, const int SIZE) |
This function should display all array elements backward (from last to the first) You are required to use the following pointer and loop to accomplish this task. float * ptr2 = ptr + SIZE; while (ptr < ptr2) |
Sample Output:
|
Please enter a size to the array: -9 !!!Error: an array’s size cannot be less or equal to 1 Please enter a size to the array: 6 Please enter all values of the array: Value 1: 4 Value 2: 5 Value 3: 7 Value 4: 2 Value 5: 1 Value 6: 8 Displaying all values forward: 4 5 7 2 1 8 Displaying all values backward: 8 1 2 7 5 4 The maximum value of this array is: 8 |
In: Computer Science
Use Java
(Find the number of days in a month)
Write a program that prompts the user to enter the month and year
and displays the number of days in the month.
For example,
If the user entered month 2 and year 2012, the program should
display that February 2012 has 29 days.
If the user entered month 3 and year 2015, the program should
display that March 2015 has 31 days.
Sample Run 1
Enter a month in the year (e.g., 1 for Jan): 2
Enter a year: 2012
February 2012 has 29 days
Sample Run 2
Enter a month in the year (e.g., 1 for Jan): 4
Enter a year: 2005
April 2005 has 30 days
Sample Run 3
Enter a month in the year (e.g., 1 for Jan): 2
Enter a year: 2006
February 2006 has 28 days
Sample Run 4
Enter a month in the year (e.g., 1 for Jan): 2
Enter a year: 2000
February 2000 has 29 days
Class Name: Exercise03_11
If you get a logical or runtime error, please refer
https://liveexample.pearsoncmg.com/faq.html.
In: Computer Science
In Python
Write a function to read a Sudoku board from an input string.
The input string must be exactly 81 characters long (plus the
terminating null that marks the end of the string) and contains
digits and dots (the `.` character represents an unmarked position).
The input contains all 9 rows packed together. For example, a Sudoku
board that looks like this:
```
..7 ... ...
6.4 ... ..3
... .54 ..2
... .4. ...
9.. ... ..5
385 ..2 ...
... ..3 78.
49. 71. ...
1.. ..8 9..
```
would be input as the string
```
"..7......6.4.....3....54..2....4....9.......5385..2........378.49.71....1....89.."
```
The function must read the board into an array of 81 bytes, with the
value 0 (*not* the digit `'0'`) for unfilled positions (represented
by dots in the input) and the values 1 through 9 (*not* the digits
`'1'` through `'9'`) for filled positions.
As it reads, the function should validate the input. If it is too
short, it should return 1. If it encounters an invalid character
(not a dot or a digit) then it should return 2. If the string is too
long it should return 3.
The following pseudocode should form the basis of your function:
In: Computer Science
|
Balance Sheet Accounts of Roman Corporation |
||
|
Account |
Balance 12/31/20162016 |
Balance 12/31/20172017 |
|
Accumulated depreciation |
$ 2 comma 026$2,026 |
$ 2 comma 674$2,674 |
|
Accounts payable |
$ 1 comma 793$1,793 |
$ 2 comma 062$2,062 |
|
Accounts receivable |
$ 2 comma 478$2,478 |
$ 2 comma 688$2,688 |
|
Cash |
$ 1 comma 290$1,290 |
$ 1 comma 088$1,088 |
|
Common stock |
$ 4 comma 999$4,999 |
$ 4 comma 999$4,999 |
|
Inventory |
$ 5 comma 807$5,807 |
$ 6 comma 038$6,038 |
|
Long-term debt |
$ 7 comma 805$7,805 |
$ 8 comma 191$8,191 |
|
Plant, property, and equipment |
$ 8 comma 402$8,402 |
$ 9 comma 194$9,194 |
|
Retained earnings |
$ 1 comma 354$1,354 |
$ 1 comma 082$1,082 |
a. construct a balance sheet for
2016 and 2017.
b. list all the working capital accounts.
c. find the net working capital for the years ending
2016 and 2017.
d. calculate the change in net working capital for the year2017.
|
Roman Corporation |
|||||||||
In: Finance
Please write a java code.
Write a generic program for New Home Construction Pricing with
the following specifications.
Note, each one of the 2, 3 or 4 bedroom homes are priced with
standard type bathrooms.
Update to deluxe or premium choice of bathrooms can be ordered by
paying the difference in prices.
Types of homes Price
2 bedroom, 2 bathroom (standard type) and 1 car garage home =
$350,000
3 bedroom, 2 bathroom (standard type) and 2 car garage home =
$400,000
4 bedroom, 2 bathroom (standard type) and 2 car garage home =
$450,000
Options:
Price of full bathroom (standard type) = $20,000
Price of full bathroom (deluxe type) = $25,000
Price of full bathroom (premium type) =$30,000
Each addition of a car garage = $50,000
User Inputs:
Enter the choice of house (1 for 2 bedroom, 2 for 3 bedroom, 3 for
4 bedroom house) = 3
Enter the choice of bathroom type (1 for standard, 2 for deluxe, 3
for premium) = 3
Enter additional full bathrooms (only of same type) = 3
Enter additional car garages required = 3
Expected outcome:
Standard Price of home = $450,000
Price for modifying bathroom type = 2 (10000) = 20000
Price for adding bathrooms of same type = 30000 (3) = 90000
Price for adding car garages = 3 (50000) = 150000
Total price of home after modifications =450000+20000+90000+150000
= 710000
In: Computer Science