250 to 350 words required In understanding the process of the rapid transformation of economic systems...

250 to 350 words required

In understanding the process of the rapid transformation of economic systems in many nations in the world from the beginning of the 1990s, briefly explain why the freedom to choose the right theoretical foundations still do matter to develop an appropriate economic system for economic growth and better income distribution of a society

In: Economics

Lunch Spending ($) = xi z-scores 28 10 1 15 8 6 10 6 Calculate the...

Lunch Spending ($) = xi

z-scores

28

10

1

15

8

6

10

6

  1. Calculate the z-scores (to two decimal places) for each observation and write the answers in the last column on the table above.
  2. According to Chebyshev’s Theorem, what percentage of the observations should be within 1 standard deviations of the mean? (Hint: be sure to word your answer correctly.) For this question, you do not need to use any data—this is a purely theoretical question asking what Chebyshev predicts for this situation.

In: Math

The Regal Cycle Company manufactures three types of bicycles—a dirt bike, a mountain bike, and a...

The Regal Cycle Company manufactures three types of bicycles—a dirt bike, a mountain bike, and a racing bike. Data on sales and expenses for the past quarter follow: Total Dirt Bikes Mountain Bikes Racing Bikes Sales $ 922,000 $ 266,000 $ 404,000 $ 252,000 Variable manufacturing and selling expenses 473,000 118,000 196,000 159,000 Contribution margin 449,000 148,000 208,000 93,000 Fixed expenses: Advertising, traceable 69,900 8,800 40,400 20,700 Depreciation of special equipment 43,500 20,500 7,800 15,200 Salaries of product-line managers 114,500 40,500 38,700 35,300 Allocated common fixed expenses* 184,400 53,200 80,800 50,400 Total fixed expenses 412,300 123,000 167,700 121,600 Net operating income (loss) $ 36,700 $ 25,000 $ 40,300 $ (28,600) *Allocated on the basis of sales dollars. Management is concerned about the continued losses shown by the racing bikes and wants a recommendation as to whether or not the line should be discontinued. The special equipment used to produce racing bikes has no resale value and does not wear out. Required: 1. What is the financial advantage (disadvantage) per quarter of discontinuing the racing bikes? 2. Should the production and sale of racing bikes be discontinued? 3. Prepare a properly formatted segmented income statement that would be more useful to management in assessing the long-run profitability of the various product lines.

In: Accounting

This is a microbial physiology question related to taxonomy, phylogeny, and physiology: Can you describe and...

This is a microbial physiology question related to taxonomy, phylogeny, and physiology:

Can you describe and apply techniques such as: Southern, Western, hybridization, genetic probes, ELISA, TLC, among others?

In: Biology

Let x be a random variable representing percentage change in neighborhood population in the past few...

Let x be a random variable representing percentage change in neighborhood population in the past few years, and let y be a random variable representing crime rate (crimes per 1000 population). A random sample of six Denver neighborhoods gave the following information. x 26 1 11 17 7 6 y 172 36 132 127 69 53 In this setting we have Σx = 68, Σy = 589, Σx2 = 1172, Σy2 = 72,003, and Σxy = 8920.

(e) For a neighborhood with x = 14% change in population in the past few years, predict the change in the crime rate (per 1000 residents). (Round your answer to one decimal place.) crimes per 1000 residents

(f) Find Se. (Round your answer to three decimal places.)

Se =

(g) Find an 80% confidence interval for the change in crime rate when the percentage change in population is x = 14%. (Round your answers to one decimal place.)

lower limit crimes per 1000 residents

upper limit crimes per 1000 residents

(h) Test the claim that the slope β of the population least-squares line is not zero at the 1% level of significance. (Round your test statistic to three decimal places.)

t =

Find or estimate the P-value of the test statistic.

P-value > 0.250

0.125 < P-value < 0.250

0.100 < P-value < 0.125

0.075 < P-value < 0.100

0.050 < P-value < 0.075

0.025 < P-value < 0.050

0.010 < P-value < 0.025

0.005 < P-value < 0.010

0.0005 < P-value < 0.005

P-value < 0.0005

Conclusion

Reject the null hypothesis, there is sufficient evidence that β differs from 0.

Reject the null hypothesis, there is insufficient evidence that β differs from 0.

Fail to reject the null hypothesis, there is sufficient evidence that β differs from 0.

Fail to reject the null hypothesis, there is insufficient evidence that β differs from 0.

(i) Find an 80% confidence interval for β and interpret its meaning. (Round your answers to three decimal places.)

lower limit

upper limit

Interpretation

For every percentage point increase in population, the crime rate per 1,000 increases by an amount that falls outside the confidence interval.

For every percentage point decrease in population, the crime rate per 1,000 increases by an amount that falls outside the confidence interval.

For every percentage point increase in population, the crime rate per 1,000 increases by an amount that falls within the confidence interval.

For every percentage point decrease in population, the crime rate per 1,000 increases by an amount that falls within the confidence interval.

In: Math

Freedom Co. purchased a new machine on July 2, 2016, at a total installed cost of...

Freedom Co. purchased a new machine on July 2, 2016, at a total installed cost of $43,000. The machine has an estimated life of five years and an estimated salvage value of $6,700.

Required:

a-1. Calculate the depreciation expense for each year of the asset's life using Straight-line depreciation.

Year Depreciation Expense
1
2
3
4
5

a-2. Calculate the depreciation expense for each year of the asset's life using Double-declining-balance depreciation.

Year Depreciation Expense
1
2
3
4
5

b. How much depreciation expense should be recorded by Freedom Co. for its fiscal year ended December 31, 2016, under each method? (Note: The machine will have been used for one-half of its first year of life.)

Depreciation Expense
Straight‑line
Double-declining balance

c. Calculate the accumulated depreciation and net book value of the machine at December 31, 2017, under each method.

Cost Accumulated Depreciation Net Book Value
Straight‑line $43,000
Double-declining‑balance 43,000

In: Accounting

A positive charge of magnitude Q1 = 9 nC is located at the origin. A negative...

A positive charge of magnitude Q1 = 9 nC is located at the origin. A negative charge Q2 = -9 nC is located on the positive x-axis at x = 18.5 cm from the origin. The point P is located y = 8.5 cm above charge Q2.

Calculate the x-component of the electric field at point P due to charge Q1. Write your answer in units of N/C.

Calculate the y-component of the electric field at point P due to charge Q1. Write your answer in units of N/C.

Calculate the y-component of the electric field at point P due to the Charge Q2. Write your answer in units of N/C.

Calculate the y-component of the electric field at point P due to both charges. Write your answer in units of N/C.

Calculate the magnitude of the electric field at point P due to both charges. Write your answer in units of N/C.

Calculate the angle in degrees of the electric field at point P relative to the positive x-axis.

In: Physics

You are interested in establishing a small business. Write a paper between 1,000 and 1,500 words...

You are interested in establishing a small business. Write a paper between 1,000 and 1,500 words discussing your small-business idea. Include the following:

1. Discuss your business and the product or service your small business provides.

2. Identify which accounting method (i.e. cash versus accrual) you plan to use for your business. Why did you select this choice?

3. List six business transactions you expect to incur with your company. State which accounts (from your chart of accounts) are impacted.

4. Discuss how each business transaction (see point 3) impacts your income statement, balance sheet and statement of cash flow.

5. Select one organization type (sole proprietorship, partnership, C-corporation, and S-corporation) for your company and explain why you selected this option.

In: Accounting

The heat of solution of LiCl is -37 kj/mol. a) draw a picture to illustrate the...

The heat of solution of LiCl is -37 kj/mol.

a) draw a picture to illustrate the main intermolecular force that is fromed in this process.

b) Explain why this process (dissolving LiCl in water) is exothermic.

In: Chemistry

(1 point) An 4-kg mass is attached to a spring hanging from the ceiling and allowed...

(1 point) An 4-kg mass is attached to a spring hanging from the ceiling and allowed to come to rest. Assume that the spring constant is 20 N/m and the damping constant is 2 N-sec/m. At time t=0t=0, an external force of F(t)=2cos(2t+π4)F(t)=2cos⁡(2t+π4) is applied to the system. Formulate the initial value problem describing the motion of the mass and determine the amplitude and period of the steady-state solution.

Let y(t)y(t) to denote the displacement, in meters, of the mass from its equilibrium position. Set up a differential equation that describes this system. (give your answer in terms of y,y′,y′′y,y′,y″).

In: Physics

Nolan Mills uses a standard cost system. During May, Nolan manufactured 15,000 pillowcases, using 27,900 yards...

Nolan Mills uses a standard cost system. During May, Nolan manufactured 15,000 pillowcases, using 27,900 yards of fabric costing $3.05 per yard and incurring direct labor costs of $17,496 for 3,240 hours of direct labor. The standard cost per pillowcase assumes 1.75 yards of fabric at $3.10 per yard, and 0.20 hours of direct labor at $5.95 per hour.

a. Compute both the price variance and quantity variance relating to direct materials used in the manufacture of pillowcases in May.

b. Compute both the rate variance and efficiency variance for direct labor costs incurred in manufacturing pillowcases in May.

(For all requirements, Indicate the effect of each variance by selecting "Favorable" or "Unfavorable". Select "None" and enter "0" for no effect (i.e., zero variance). Round your answers to 2 decimal places.)

a. Materials price variance     1395.00    Favorable

Materials quantity variance    _______     Unfavorable

b. Labor rate variance           ________ Favorable

Labor efficiency variance      ________ Unfavorable

In: Accounting

Pick a Canadian company listed on the Toronto Stock Exchange and find a revenue stream that...

Pick a Canadian company listed on the Toronto Stock Exchange and find a revenue stream that you can apply the concepts of revenue recognition to the company chosen.

In: Accounting

C Programming Assignment 4 Cache Simulation Objective: To write a C program that simulates reading and...

C Programming Assignment 4

Cache Simulation

Objective:

To write a C program that simulates reading and writing to a custom-sized direct-mapped cache, involving a custom-sized main memory.

The program will read all values from the ZyLab as Test Bench inputs.

Main Menu Options:

The program simulates reading from and writing to a cache based on choosing from a menu of choices, where each choice calls the appropriate procedure, where the choices are:

  1. Enter Configuration Parameters
  2. Read from Cache
  3. Write to Cache
  4. Quit Program

Note that when you read from ZyLab, the input values are not displayed on the screen as they are in the sample run at the end of this document.

Inputs:

  • Enter Parameters
    • The total size of accessible main memory (in words)
    • The total size of the cache (in words)
    • The block size (words/block)
  • Read from Cache
    • The main memory address to read
  • Write to Cache
    • The main memory address to write
    • The contents of the address for writing to the cache

Input Value Checks:

  • All the parameter values must be powers of 2.
  • The block size must never be larger than the size of accessible main memory.
  • The total cache size must be some multiple of the block size.
  • Your program should verify that all input variables are within limits as they are entered.

Output Messages:

All messages should be display EXACTLY as shown in the sample run; that is, prefixed by three asterisks, a space and hyphen and one more space. The message should be followed by a blank line.   

  • Data Accepted Message is comprised of two sentences:

*** All Input Parameters Accepted.

     Starting to Process Write/Read Requests

  • Error Messages are preceded by “*** Error –“. A list of possible errors is given below.

Note that one message has been deleted from previous versions of this Specification and three new ones have been added.

*** Error - Main Memory Size is not a Power of 2

*** Error - Block Size is not a Power of 2

*** Error - Cache Size is not a Power of 2

*** Error – Block size is larger than cache size

  • Deleted Error Message

*** Error – Cache Size is not a multiple of Block Size

  • Newly Added Error Messages

*** Error – Read Address Exceeds Memory Address Space

*** Error – Write Address Exceeds Memory Address Space (The write value following the invalid address value should be read and then discarded)

*** Error – Invalid Menu Option Selected (Until configuration data has been accepted, the only valid menu options that can be entered are “1” or “4.”)

Whenever any one of these errors occurs, the program should loop back to the Main Menu.

  • Content Message resulting from reading/writing to the cache

*** Word WW of Cache Line LL with Tag TT contains Value VV

This message should appear after all successful reads or writes

WW is the word number in the cache line, LL is the line number in the cache, TT is the line’s tag value and VV is the content value in the cache.

All values are in decimal.

  • Read Messages (two possible messages)

*** Read Miss - First Load Block from Memory (followed on the next line by the Content Message above)

*** Cache Hit (followed on the next line by the Content Message above)

  • Write Messages

*** Write Miss - First Load Block from Memory (followed on the next line by the Content Message above)

*** Cache Hit (followed on the next line by the Content Message above)

  • Quit Program Message

*** Memory Freed Up – Program Terminated Normally

When option 4 is entered, the memory should be freed up and the message “Memory Freed Up – Program Terminated Normally”, followed by a blank line, should be displayed before exiting the program.

Program Requirements:

  • Use a structure (struct) to represent a cache line consisting of a tag (integer) and a block (integer pointer). Define the cache to be a pointer to the struct.
  • Upon entering the parameters, the main memory and cache are to be dynamically allocated (use malloc) based on their respective total sizes.

Each word i of main memory is initialized with the value Mi, where M is the size of main memory in words. So, memory location 0 will contain the address of the last memory location and the last memory location will contain the address of the first memory location (i.e. 0).

  • Reading/writing from/to a new block in the cache results in dynamically allocating a block for that instance, based on the previously entered block size.

Prologue & Comments:

At the very beginning of your source code (the very first lines), please include a prologue which looks like the following:

/*

Dr. George Lazik                      (use your full name not mine)

Programming Assignment 4: Cache Simulation

Comp 222 – Fall 2019

Meeting Time: 0800-0915       (your meeting time)

*/

  • Include simple (brief) comments strategically throughout your program so that someone else can readily follow what you are doing, but don’t overdo it. Examples might look like these:

// Reading input values from ZyLab

// Determining the contents of memory

ZyLab Test Benches:

  • You will be permitted unlimited submission attempts on ZyLab until the due date. Afterwards, the inputs will be changed, the point value of the assignment will be increased to 100 and only one submission will be permitted. This last submission will be on the day following the due date and should be the one with the highest score.

  • Hardcopy printed listing of your program. Please place this on the Professor’s desk at the beginning of class on day the assignment is due. It should be properly C formatted listing and not one from programs such as Word.

Make sure your full name appears on each page of the listing and that all pages are stapled together in their correct order BEFORE you come to class.

Failure to provide this listing will result in no grade for the assignment.

Sample Test Run

The following is a sample run of one of the tests in Assignment 4’s Test Bench on ZyBooks. Note: Some recently added error conditions are not included in this run.

1

65536

512

1024

1

65536

1027

16

1

65536

1024

15

1

65537

1026

4096

1

65536

1024

18

1

65536

1024

16

3

65535

14

2

65535

3

65534

512

2

1023

4

Your output

Programming Assignment 4: Cache Simulation

Comp 222 - Fall 2019

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter main memory size (words):

Enter cache size (words):

Enter block size (words/block):

*** Error - Block Size is Larger than Cache Size

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter main memory size (words):

Enter cache size (words):

Enter block size (words/block):

*** Error - Cache Size is not a Power of 2

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter main memory size (words):

Enter cache size (words):

Enter block size (words/block):

*** Error - Block Size is not a Power of 2

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter main memory size (words):

Enter cache size (words):

Enter block size (words/block):

*** Error - Main Memory Size is not a Power of 2

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter main memory size (words):

Enter cache size (words):

Enter block size (words/block):

*** Error - Cache size is not a multiple of block size

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter main memory size (words):

Enter cache size (words):

Enter block size (words/block):

*** All Input Parameters Accepted. Starting to Process Write/Read Requests

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter Main Memory Address to Write:

Enter Value to Write:

*** Write Miss - First load block from memory

*** Word 15 of Cache Line 63 with Tag 63 contains the Value 14

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter Main Memory Address to Read:

*** Cache Hit

*** Word 15 of Cache Line 63 with Tag 63 contains the Value 14

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter Main Memory Address to Write:

Enter Value to Write:

*** Cache Hit

*** Word 14 of Cache Line 63 with Tag 63 contains the Value 512

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

Enter Main Memory Address to Read:

Read Miss - First Load Block from Memory

*** Word 15 of Cache Line 63 with Tag 0 contains the Value 64513

Main Menu - Main Memory to Cache Memory Mapping

------------------------------------------------

1) Enter Configuration Parameters

2) Read from Cache

3) Write to Cache

4) Quit Program

Enter selection:

*** Memory Freed Up - Program Terminated Normally

In: Computer Science

What would happen if Chromium (II) and Sulfur bonded? How are Ionic Bonds formed and what...

What would happen if Chromium (II) and Sulfur bonded?

How are Ionic Bonds formed and what is the attractive force within an Ionic Bond?

In: Chemistry

Describe the differences between a legal duty and a moral duty. Define each in your own...

Describe the differences between a legal duty and a moral duty. Define each in your own words, and describe the differences between the two across relevant aspects, including how each is established and enforced, and consequences of not honouring the duty.

b) Give a specific, detailed example of an event where there were negative consequences for a person or group who didn’t honour a moral duty (Hint - loss of reputation is one possible negative consequence). Describe the event and explain how the consequences came about.

In: Computer Science