How does the use of theory (social work) guide policy and best practice interventions?  

How does the use of theory (social work) guide policy and best practice interventions?  

In: Psychology

Explain the role of fiscal policy during a recession. Give two examples and illustrate them with...

Explain the role of fiscal policy during a recession. Give two examples and illustrate them with graphs.

In: Economics

Subject is C++ Write a program to compute internet charges according to a rate schedule. The...

Subject is C++

Write a program to compute internet charges according to a rate schedule.

The rate schedule is as follows:

$0.08 per GB for usage between 0 and 40 GB, inclusive

$0.07 per GB for usage between 41 GB and 70 GB, inclusive

$0.05 per GB for usage between 71 GB and 110 GB, inclusive

$0.04 per GB for usage greater than 110 GB

code must use these four functions, using these names (in addition to main):

  1. getData
  2. computeCharges
  3. printAccountInfo
  4. printTotals

Requirements for the getData Function

Purpose:

This function prompts the user for an account number (integer) and a GB value (integer). It passes these values back to main via two output parameters.

Output Parameters:

  1. account number (as an integer)
  2. GB value (as an integer)

Algorithm:

Prompt and read. There must be only one prompt, and the user must enter the data on one line with a space between each value.

Return value:

None

Requirements for the computeCharges Function

Purpose:

This function computes the charges for one transaction. It uses one input parameter (GB value as an integer) and a return value (amount of the charge, which may include decimals).

Input Parameter:

  1. GB value (as an integer)

Algorithm:

Use a selection structure to determine the charge per GB, using the above rate schedule. Calculate the charges using multiplication.

Return value:

Transaction charges (may include decimals)

Requirements for the printAccountInfo Function

Purpose:

This function displays the information for one account transaction to the screen.

Input Parameters:

  1. account number
  2. GB value
  3. Transaction charges

Algorithm:

Print, using appropriate spacing and formatting. The transaction charges must display with two decimal places.

Return value:

None

Requirements for the printTotals Function

Purpose:

This function displays totals to the screen at the end of the program.

Input Parameters:

  1. Total number of accounts
  2. Sum of all GB values
  3. Sum of all transaction charges

Algorithm:

Print, using appropriate spacing and formatting. The sum of transaction charges must display with two decimal places.

Return value:

None

Requirements for main:

  1. Variable declarations in main should only include the variables needed within main. Do not declare all the variables needed in the program here – only the ones needed within main.
  2. The main function must use a conditional loop that prompts the user to enter a Y or an N to indicate if they wish to continue adding more input. Your code must be able to handle lowercase or uppercase: y, Y, n, or N.

Be sure the first prompt is for actual data, not the continuation response.

IMPORTANT NOTE ABOUT THIS LOOP – You will encounter the situation where there is a scanf for a number immediately before the scanf for the Y or N. We have seen this problem before…

  1. The loop body calls the appropriate functions with the appropriate arguments and return values, if necessary. Within the loop, you must keep track of the totals needed by the printTotals function.
  2. When the loop is complete, call the print_totals function with the appropriate arguments.
  3. All prompts and output must display exactly as demonstrated in the sample runs below. Pay attention to spacing and alignment!

Sample Run

Enter account number and GB used (one space between data): 12345 80
Account number: 12345        GB Used:     80        Charge:     4.00

Do you wish to continue? (y/n) y

Enter account number and GB used (one space between data): 98765 25
Account number: 98765        GB Used:     25        Charge:     2.00

Do you wish to continue? (y/n) Y

Enter account number and GB used (one space between data): 25413 120
Account number: 25413        GB Used:    120        Charge:     4.80

Do you wish to continue? (y/n) Y

Enter account number and GB used (one space between data): 42598 50
Account number: 42598        GB Used:     50        Charge:     3.50

Do you wish to continue? (y/n) n

Total accounts =        4
Total GB Used =       275
Total Charges =     14.30

In: Computer Science

Business law (1) Can a small-holding (minor) shareholder have an influence on how a company is...

Business law

(1) Can a small-holding (minor) shareholder have an influence on how a company is managed? What are the main restrictions and are the number of shares held relevant?

In: Accounting

I wanna know if there are any examples of compliance with respect to clauses 4.1 -...

I wanna know if there are any examples of compliance with respect to clauses 4.1 - 4.4 of ISO 9001?

In: Operations Management

15)The theory of international trade presented in Chapter 9 of the Mankiw text, shows that a...

15)The theory of international trade presented in Chapter 9 of the Mankiw text, shows that a tariff can reduce efficiency by reducing domestic consumption, but increase efficiency by increasing domestic production.

True

False

16)

Table 5-1


Income
Quantity of Good X
Purchased
Quantity of Good Y
Purchased
$30,000 2 20
$40,000 5 10



Refer to Table 5-1. Good Y is

an inferior good.

not related to income.

a normal good.

price inelastic.

22) all points on the production possibility frontier:

will lead to overproduction and eventually a recession.

have both full and efficient employment of all resources, including labor

are fair and equitable

have all workers with jobs, but they may be employed in the wrong job

27) In Chapter 2 of his text, N.G. Mankiw states that nearly all economists agree that a ceiling on rents reduces the quality and quantity of housing available.

True

False

39)

Table 7-1

BUYER WILLINGNESS TO PAY
MIKE $50.00
SANDY $30.00
JONATHAN $20.00
HALEY $10.00



Refer to Table 7-1. If the table represents the willingness to pay of four buyers and the price of the product is $18, then their total consumer surplus is

$72.

$46.

$42.

$38.

In: Economics

the highly customized approach to offering products and services that match the need of a particular...

the highly customized approach to offering products and services that match the need of a particular customer is called

In: Economics

explain three factors that affect changes in political behavior and culture and give examples

explain three factors that affect changes in political behavior and culture and give examples

In: Economics

How will oil production in Saudi Arabia, affect competition for the Stanley Cup in 2015-2016?

How will oil production in Saudi Arabia, affect competition for the Stanley Cup in 2015-2016?

In: Economics

Search out for a case related to any business. The Case must be decided (meaning decision...

Search out for a case related to any business.

The Case must be decided (meaning decision is given by the court).

Summarize the Case and its decision.

Summarize in bullet form.

In: Operations Management

A linear accelerator produces a pulsed beam of electrons. The current is 1.6 A for the...

  1. A linear accelerator produces a pulsed beam of electrons. The current is 1.6 A for the 0.1 μs duration for each pulse.
  1. How many electrons are accelerated in each pulse?
  2. What is the average current of the beam if there are 1000 pulses per second?
  3. If each electron acquires an energy of 400 MeV, what is the average power output of the accelerator? Assume there are 1000 pulses per second for the accelerator.
  4. What is the peak output power? Hint: this occurs when 1012 electrons are accelerated in 0.1 μs.

In: Physics

what role does 'team work' play on economics? Can you be an independent person on this...

what role does 'team work' play on economics? Can you be an independent person on this career?

In: Economics

EBP Limited is a small firm involved in the production and sale of electronic business products....

EBP Limited is a small firm involved in the production and sale of electronic business products. The company is well known for its attention to quality and innovation.

During the past 15 months, a new product has been under development that allows users handheld access to email and video images. EBP has been designing two models: Standard and Enhanced. Development costs have amounted to RM181,500 and RM262,500 respectively.

The total market demand for each model is expected to be 40,000 units and management anticipate being able to obtain the following market shares: Standard 25%; Enhanced 20%. EBP paying RM34,500 for an in-depth market study.

Forecast the following data:

Standard (RM)

Enhanced (RM)

Projected selling price

375

495

Production cost per unit:

     Direct material

42

67.50

     Direct labor

22.5

30

     Variable overhead

36

48

     Fixed overhead

54

72

Marketing and advertising per product line

195,000

300,000

Sales salaries per product line

85,500

85.500

Required:

  1. Calculate the per unit contribution margin for both models.                                       
  2. Which of the data above should be ignored in making the product introduction decision? For what reason?                                                                                                              
  3. Prepare a financial analysis and determine which of the models should be introduced.

In: Accounting

Please use the economics knowledge you have learned so far to analyze the case below. You...

Please use the economics knowledge you have learned so far to analyze the case below. You can propose your own questions and then answer them. Remember, there is no absolutely correct answer to this exercise. Its purpose is to provide you an opportunity to demonstrate your ability to think like an economist by applying economic principles to interpret the logic of a real-world phenomenon.

Economic Growth and the Business Cycle at Corning, Inc.

In 1851, Amory Houghton founded the company that became Corning, Inc. By 2015, Corning had more than 34,000 employees and sales of nearly $10 billion. Corning’s experience has mirrored two key macroeconomic facts: In the long run, the U.S. economy has experienced economic growth, and in

the short run, the economy has experienced a series of business cycles. During the 2001 recession, Corning suffered a $5 billion loss as the market for fiber-optic cable collapsed. Similarly, the recession of 2007–2009 caused a sharp decline in durable goods, which caused Corning’s sales of ceramics for automobile emissions systems and display panels for computers and televisions to decline. Despite these setbacks, Corning continued to make a profit during the recession due to sales of new products, such as Gorilla glass. A similar product, Willow glass, can be wound and shipped in rolls, which might make it possible for Apple and other firms to produce foldable electronic devices.

In: Economics

You have just started a new job and your employer has enrolled you in KiwiSaver. This...

You have just started a new job and your employer has enrolled you in KiwiSaver.

This is the first time you have been enrolled in KiwiSaver and you decide not to “opt out”.

You are interested in estimating how much your KiwiSaver fund could be worth when you retire.

You make the following assumptions:

• You have just turned 30 and will retire in exactly 35 years when you are 65.

• Your salary is $50,000 this year and you expect this to increase by 3% every year.

• You can choose to contribute either 3% or 8% of your salary into your KiwiSaver fund each year. https://www.kiwisaver.govt.nz/already/contributions/you/amount/

• Your employer must contribute 3% of your pay into your KiwiSaver fund each year. https://www.kiwisaver.govt.nz/already/contributions/employers/ You can ignore any tax implications and assume your account receives the full 3%. (KIWI SAVER ACC)

• You will be entitled to the annual member tax credit of $521.43 which will be credited into your KiwiSaver fund at the end of every year. https://www.kiwisaver.govt.nz/new/benefits/mtc/

• Your KiwiSaver fund will invest in a diversified portfolio of assets to earn a return on your investment. Of course, there is uncertainty around the actual annual rate of return that your fund will earn over the 35 years but you decide that 6% and 12% represent a good range of potential rates of return to conduct your analysis on.

• Regardless of the return earned, the manager of your KiwiSaver fund will charge a management fee of 1.0% at the end of each year, based on the opening balance of your fund each year.

• You will make no withdrawals or additional contributions (other than those mentioned above) to your fund until you retire in 35 years.

• For simplicity, assume that all contributions to your KiwiSaver fund are made once per year, at the end of the year. The first lot of contributions will be made in one year from today.

Construct a spreadsheet that will allow you to answer the following questions on Canvas.

It is calculated that your expected annual salary when you are 45 years old is $77,898

  1. How much will be in your KiwiSaver account at the start of that year if you contributed 3% of your salary and the fund earned 6%p.a.?

In: Finance