Questions
Complete the code provided to add the appropriate amount to totalDeposit. #include <iostream> using namespace std;...

Complete the code provided to add the appropriate amount to totalDeposit.

#include <iostream>

using namespace std;

int main() {

enum AcceptedCoins {ADD_QUARTER, ADD_DIME, ADD_NICKEL, ADD_UNKNOWN};

AcceptedCoins amountDeposited = ADD_UNKNOWN;

int totalDeposit = 0;

int usrInput = 0;

cout << "Add coin: 0 (add 25), 1 (add 10), 2 (add 5). ";

cin >> usrInput;

if (usrInput == ADD_QUARTER) {

totalDeposit = totalDeposit + 25;

}

/* Your solution goes here */

else {

cout << "Invalid coin selection." << endl;

}

cout << "totalDeposit: " << totalDeposit << endl;

return 0;

}

Note - I only need the part where it says -- your solution goes here. Thank you very much for the help. C++ program

In: Other

Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy:


Consider the following time series data. 

Week123456
Value201315111714


Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy: 

a. Mean absolute error (MAE) 

b. Mean squared error (MSE) 

c. Mean absolute percentage error (MAPE) 


Round your answers to two decimal places. 

MAE = 

MSE = 

MAPE = 


Using the average of all the historical data as a forecast for the next period, compute the same three values. Round your answers to two decimal places. 

MAE = 

MSE = 

MAPE = 

Which method appears to provide the more accurate forecasts for the historical data? 

In: Other

Southeastern Bell stocks a certain switch connector at its central warehouse for supplying field service offices....

Southeastern Bell stocks a certain switch connector at its central warehouse for supplying field service offices. The yearly demand for these connectors is 15,200 units. Southeastern estimates its annual holding cost for this item to be ​$22 per unit. The cost to place and process an order from the supplier is ​$72. The company operates 300 days per​ year, and the lead time to receive an order from the supplier is 2 working days.

​a) What is the economic order​ quantity? units ​(round your response to the nearest whole​ number).

​b) What are the annual holding​ costs? ​$   ​(round your response to the nearest whole​number).

​c) What are the annual ordering​ costs? ​$ ​(round your response to the nearest whole​ number).

​d) What is the reorder​ point? units ​(round your response to the nearest whole​ number).

In: Other

Which one of the following is not one of the new HTML5 semantic elements?

QUESTION 16

Which one of the following is not one of the new HTML5 semantic elements?

chapter

article

section

aside


QUESTION 17

Which of the following is the name for the file used for the "home page" of a website?

All of these are correct

home.htm

index, html

default.asp


QUESTION 18

Which of the following are the opening and closing delimiters of an HTML5 entity?

& and ;

& and !

I and ;

< and >


QUESTION 19

One method that we can use so that common markup will be placed in several of our web pages is called?

Server-Side Includes / SSI

Includes

Imports

using


QUESTION 20

What is the difference between a semantic element and a non-semantic element?

Semantic elements are tags with meaning like table and img. Non-semantic elements are tags that suggest nothing about content like div or span

Semantic elements are tags that suggest nothing about content like table and img. Non-semantic elements are tags with meaning like div or span

Semantic elements are tags that look like web tags. Non-semantic elements are tags that are hidden.

Semantic elements are tags with meaning like index.html. Non-semantic elements are tags that suggest nothing about content index.asp


In: Other

Mark Gershon, owner of a musical instrument distributorship, thinks that demand for guitars may be related...

Mark Gershon, owner of a musical instrument distributorship, thinks that demand for guitars may be related to the number of television appearances by the popular group Maroon 5 during the previous month. Gershon has collected the data shown in the following table:

Maroon 5 TV Appearances

3

4

7

5

9

6

Demand for Guitars

2

6

8

6

10

8

This exercise contains only parts b, c, and d.

b) Using the least-squares regression method, the equation for forecasting is (round your responses to four decimal

places).

Y=_+_x

fill in the blacks

In: Other

As the production planner for Xiangling Hu Products, Inc., you have been given a bill of material...

As the production planner for Xiangling Hu Products, Inc., you have been given a bill of material for a bracket that is made

As the production planner for Xiangling Hu Products, Inc., you have been given a bill of material for a bracket that is made up of a base, 2 springs, and 4 clamps. The base is assembled from 2 clamps and 2 housings. Each clamp has 1 handle and 1 casting. Each housing has 2 bearings and 2 shafts. There is no inventory on hand. 

a) Design a product structure noting the quantities for each item and show the low-level coding. Match each number in the structure below with the corresponding item. 

b) Determine the gross quantities needed of each item if you are to assemble 50 brackets.


In: Other

Problem 2. The annual demand for a product is 15,600 units. The weekly demand is 300...

Problem 2. The annual demand for a product is 15,600 units. The weekly demand is 300 units with a standard deviation of 90 units. The cost to place an order is $31.20, and the time from ordering to receipt is four weeks. The annual inventory carrying cost is $0.10 per unit. Find the reorder point necessary to provide a 98 percent service probability. Suppose the production manager is asked to reduce the safety stock of this time by 50 percent. If she does so, what will the new service probability be?

Annual demand = Annual holding cost ($) per units Ordering cost = EOQ (Economic Order quantity) = 2 DS H = our Weekly demand


In: Other

"Party Sea" is considering a new business idea: buying and then renting out sailing catamarans to...

"Party Sea" is considering a new business idea: buying and then renting out sailing catamarans to rich customers. The company estimates that it will cost $32,000,000 to buy brand-new sailing catamarans. The estimated operating cash flow will equal $4,000,000 per year. At the end of Year 3 this catamaran project will be over, at which time all used catamarans will be sold at the after-tax salvage value of $10,000,000. The company also plans to immediately set aside $58,000 in cash which will be increased by $5,000 each year and recovered at the end of the project. Calculate the Net Present Value of the project if the appropriate discount rate is 11%. Increase decimal places for any intermediate calculations, from the default 2 to 6 or higher. Only round your final answer to whole dollar.

In: Other

You are considering three investments. The first is a bond that is selling in the market...

You are considering three investments. The first is a bond that is selling in the market at $1,200. The bond has a $1,000 par value, pays interest semi-annually at 10%, and is scheduled to mature in 10 years. For bonds of this risk class you believe that a 12% rate of return should be required. The second investment that you are analysing is a preference share ($100 par value) that sells for $95 and pays an annual dividend of $10. Your required rate of return for this share is 10%. The last investment is an ordinary share ($35 par value) that recently paid

a $5 dividend. The firm's earnings per share have increased from $4 to $8 in 10 years, which also reflects the expected growth in dividends per share for the indefinite future. The share is selling for $40, and you think a reasonable required rate of return for the share is 20%.

Required:

  1. Calculate the value of each security based on your required rate of return.
  2. Calculate the expected return of each security.

In: Other

How much of the first annual payment will go towards paying down the principal?

You take out a loan for a $10,000 with 7% annual interest. This loan must be paid in 10 equal payments. How much of the first annual payment will go towards paying down the principal?

In: Other

Network Streaming Systems (NSS) Ltd is a video production company and currently rents the building in...

Network Streaming Systems (NSS) Ltd is a video production company and currently rents the building in which its production equipment is located at an annual cost of £150,000, including all service charges. The company is considering purchasing an alternative building in which to undertake its video business. These alternative premises are due to be demolished by the local council in 4 years’ time to make way for a new road. It is known that the Council will purchase the building at that time at its book value of £100,000. Because of the instability caused by the Council’s plans, NSS can purchase the building at a knock-down price of £250,000. Otherwise, since the building is located in a prime residential area, the land on which the building stands would be worth £1.8 million. Currently the building is in a state of disrepair, but a structural survey which has already been undertaken by NSS costing £3,000, recommends that the building must be upgraded at a cost of £50,000 before NSS moves in. The annual heating and lighting expenses on the new building will be £40,000, but NSS will save the annual rents on its current premises. The removal costs of moving its equipment into the new building, and the cost of moving out again in four years’ time will be £25,000 on each occasion. NSS pays corporation tax on its profits at 30%, and the tax authorities allow NSS to offset its corporate tax liabilities by using straight line depreciation on its fixed assets. You may assume that NSS has sufficient taxable profits to take full advantage of any tax shields from purchasing the building. NSS applies an opportunity cost of capital of 10 per cent to all future cash flows. Assume all annual cashflows occur at the end of the year to which they relate.

(a) Determine the free cash flow in each year from the investment in the new building, explaining your treatment of costs and depreciation allowances.

(b) What is the project NPV?

(c) NSS approaches you for advice on whether it should purchase the new building, and asks for your opinion on payback, IRR, and accounting rate of return as methods of investment appraisal. Advise NSS by comparing and contrasting the four alternative investment criteria.

(d) Suppose that there is a small probability that the Council might change its decision to build a road, allowing the owner to sell the land for residential development. Outline how this would change your valuation of the project.

In: Other

LongHorn Corp is analyzing a proposed project. The company expects to sell 10,000 units, plus or...

LongHorn Corp is analyzing a proposed project. The company expects to sell 10,000 units, plus or minus 4 percent. The expected variable cost per unit is $10 and the expected fixed costs are $400,000. The fixed and variable cost estimates are considered accurate within a plus or minus 10 percent range. The depreciation expense is $61,000. The tax rate is 32 percent. The sales price is estimated at $70 a unit. What is the operating cash flow under the best case scenario? Round your answer to 2 decimal places

In: Other

Your Aunt Ruth has $340,000 invested at 7%, and she plans to retire. She wants to...

Your Aunt Ruth has $340,000 invested at 7%, and she plans to retire. She wants to withdraw $40,000 at the beginning of each year, starting immediately. How many years will it take to exhaust her funds, i.e., run the account down to zero?

15

13

12

16

14

In: Other

Is there a formula to quickly calculate amortized interest? I know how to do it for...

Is there a formula to quickly calculate amortized interest? I know how to do it for each individual payment period (interest= [principle amount]x[interest rate]) and subtracting the amount of the payment that goes towards the principle, and doing it over and over again. However, this process takes too long once you get more payment periods. I am trying to answer the following question:

Q: You have paid for 20 years of your 30 year mortgage and make monthly payments of $2,545. Assuming the APR on the loan is 6.6% per year, compounded monthly, a) how much would you need today to pay off the remaining balance on the mortgage? Based on this information, b) what was the amount of the original mortgage?

So far, I have calculated the original mortgage to be $398,491.33 (is this right? I used the present value of an annuity formula- not sure if this is correct process). I am struggling with part a.

In: Other

Gary borrows 150,000 with interest at 15% compounded quarterly. How many 9,500 quarterly payments are required?...

Gary borrows 150,000 with interest at 15% compounded quarterly. How many 9,500 quarterly payments are required?

Show complete solution

In: Other