Statistics discussion response Mathematics Assignment Help

Statistics discussion response Mathematics Assignment Help. Statistics discussion response Mathematics Assignment Help.

Please respond to the discussions with reference

Discussion 1

Explain
when a z-test would be appropriate over a t-test.

The
z and t-test are both used in hypothesis testing; t-tests are used
in a population of unknown standard deviation and a sample size of
< 30. They are also used to compare two different samples and
determine if there is a significant difference between the two
samples. Z-tests are used in a sample size of >30; they are
used to determine whether two population means are different when
the variances are known, and the sample size is
large.(“Statistics How To,” 2017)

References

Statistics
for the rest of us. (2017). Retrieved from http://www.statisticshowto.com/what-is-cluster-sam…

Discussion 2

The T-test is most commonly, a significance test of the difference between
means based on the t distribution. other applications include (a)
testing the significance of the difference between a sample mean and a
hypothesized value of the mean and (b) testing a specific contrast
among means.

Z-Test is a statistical test used to determine
whether two population means are different when the variances are
known and the sample size is large. The Z-test statistic is
assumed to have a normal distribution, and nuisance parameters such as
standard deviation should be known for an accurate Z-test to
be performed.

A Z-test should be used when you are trying to determine whether to
population means are different whrn the variances are known and the
sample size is large.

References

Logic of Hypothesis Testing, https://lc-ugrad3.gcu.edu/learningPlatform/externa…

Https://Www.Investopedia.Com/Terms/Z/Z-Test.Asp

Discussion 3

T-test is used
to examine the differences between the means of two groups. For
example. In an experiment you may want to compare the overall mean
for the group which the manipulation took place vs a control group.
A z test is used to determine whether two population means are
different when the variances are known and the sample size is large.
The test statistic is assumed to have a normal distribution, and
nuisance parameters such as standard deviation should be known for
an accurate z test to be performed.

A one-sample
location test, two sample location test, paired differences test and
maximum likelihood estimate are example of test that can be
conducted as z tests. Z-tests are closely related to t-tests, but
t-tests are best performed when an experiment has a small sample
size. Also, t tests assume the standard deviation is unknown, while
z-tests assume is it is known. If the standard deviation of the
population is unknown, the assumption of the sample variance
equaling the population variance is made (Skaik, 2015).

References

Skaik, Y.
(2015). The bread and butter of statistical analysis
“t-test”: Uses and misuses. US National Library of Medicine.

Discussion 4

A z-test and a t-test are statistical methods using
data analysis. A z-test is statistical calculation that can
be used to determine whether two population means are different
when the variances are known and the sample size is large. The
z-test shows you how far, in standard deviations, a data point is from
the mean or average of a data set. A z-test is used for large
sample( n>30). Z test can be helpful when we want to
test a hypothesis. generally, they are most useful when the standard
deviation is known.

A t-test is an analysis of two populations means through the use of
statistical examination; a t-test with two samples is commonly used
with small sample sizes, testing the difference between the samples
when the variances of two normal distributions are not
known. Usually, t-tests are most appropriate when dealing with
problems with a limited sample size (n < 30).

Reference

Z-test/ T-test.Retrieved from https://www.investopedia.com/terms/z/z-test.asp

Discussion 5

he t-test and z-test are both used in hypothesis testing, but there
are times when using one is more appropriate over the other. The best
instance to use a t-test is when the sample size is less than 30, and
you have an unknown standard deviation of the population. In
order to use the z-test you must know the standard deviation of the
population and the sample size must be above 30. A z-test will tell
you how many standard deviations from the mean your result is (T-Score
vs. Z-score, 2018).

T-score vs. Z-score: What’s the Difference. (2018, January).
Retrieved March 5, 2018, from https://www.statisticshowto.com

Discussion 6

Before you run any statistical test, you must first determine
your alpha level, which is also called the
“significance level.” By definition,
the alpha level is the probability of rejecting the
null hypothesis when the null hypothesis is true.
Translation: It’s the probability of making a wrong
decision. The smaller the alpha level, the smaller the area
where you would reject the null hypothesis. Scientists have found
that an alpha level of 5% is a good balance between these two issues.

If in starting a new program of research for a new drug and the
drug has no harmful side effects, and you want to reduce the chances
of missing an important effect especially since at this point your
procedures may be relatively unrefined, then you may want to
increase your alpha level to say .10.

That is, your experiment is designed in a way that you have a
10% chance of a false positive. It doesn’t matter if you misapply
this drug. It’s not going to hurt anybody. So, on the one hand, you
may want to have a .01 a point .001 alpha level if the drug has
nasty side effects. Or, you may want to have a .10 alpha level if
you are doing a pilot study.

What if this drug is for a horrific disease, a crippling disease
or a life threatening disease? Well, you don’t want to do an
experiment that causes you to miss the good drug. Assume it is a
very devasting disease. You’ve got a chance to do something about
it. So you want to make sure that if the drug works you don’t miss
it. Well you could try to reduce the beta error, to .1 instead of
.2. That is increase your power from .8 to .9 maybe .95, whatever it
takes to do that kind of thing. Of course, increasing alpha
increases power, so that is one of your alternatives.

References

Alphas, P-Values, and Confidence Intervals, Oh My! | Minitabblog.minitab.com/blog/michelle-paret/alphas-p-values-confidence-intervals-oh-my

Statistics discussion response Mathematics Assignment Help[supanova_question]

History final Writing Assignment Help

Question Choices(Choose and write on just One):

A) On what grounds, moral and practical, did Martin Luther King argue that nonviolent resistance offers the best tool for fighting injustice and making social progress?

B) Describe the views about blacks and whites held and taught by the Nation of Islam and by Malcolm X for many years. Why did such teachings appeal to many African Americans?

C) Why did Malcolm finally break with the Nation of Islam? In what ways did Malcolm’s ideas and proposals for African-American action significantly change in his independent, post-Nation phase?

D) What (through 1963) did Malcolm claim were the goals and traits of a genuine revolution, and why did he think the nonviolent so-called “Negro Revolution” failed to constitute one? How did he later re-assess what methods might bring positive results for blacks? How, did he later suggest, might America have “a bloodless revolution”?

E) What new major issues—in addition to integration and civil rights for African Americans—did King increasingly seek to address during the latter 1960s? Was he more or less successful in achieving his later goals as he had been achieving his earlier ones? Why or why not?

F) Compare and contrast the social origins and backgrounds of Martin Luther King and Malcolm X. How may their dissimilar life experiences help explain some of their different views and attitudes?

G) In what ways did King and Malcolm’s views grow more similar during their respective latter periods? In what areas were they nearer in agreement than earlier? In what area or areas did they still significantly differ?

Directions: Click “compose and submit new document” button below.

Write an essay of approximately 750 to 1,200 words (about 3-5 double-spaced typed pages) in which you address and answer ONE of the Questions. Type at its start: your Name, Student ID Number, and Letter of the Question on which you are writing. Always support the accuracy of your statements and conclusions about these leaders by using information and statements by them from the book’s historical documents. Base your argument on their own words. Don’t quote or cite very much the editor/author (Howard-Pitney)’s secondary statements about them, Base your answers on statements made by King and Malcolm that appear in the primary historical documents of our assigned book. Do Not use other books or internet collections of their speeches; use only our class’s book’s statements by King and Malcolm.

Whenever referring to a document’s contents–whether directly quoting it, paraphrasing it or even just relaying its basic information–always cite your information’s documentary source. Place in parentheses the page number of the book where its statement or information appears in a document. Give the author, title and page number of the document either within your own sentence’s writing, or place all or the rest of the required citation information in parentheses at your sentence’s end (just before the period).

Here are Examples of acceptable Citation Forms.

Quote: King wrote, “I am convinced for practical as well as moral reasons, nonviolence offers the only road to freedom” (Nonviolence: the Only Road to Freedom, 91).

Quote: In “Nonviolence: the Only Road to Freedom,” King stated he was “convinced for practical as well as moral reasons, nonviolence offers the only road to freedom” (91).

Paraphrase of a document’s content or information taken from it: King always held that using nonviolence was the most ethical and practical way to promote social justice (Nonviolence: the Only Road to Freedom, 91).

WRITING RULES & TIPS: Write clearly, understandably, and grammatically. Write in complete sentences and use paragraphs. Write in Past Tense about the past. Correct spelling is required. All essays should have a clear Introduction (including thesis), Body, and Conclusion.

PROOFREADcarefully to catch and eliminate careless. OOPS–errors!

GRADING CRITERIA:

Each essay is worth up to 60 points, based on
1) how well and fully the essay addresses the issues in the Question,
2) how skillfully it chooses and presents relevant information from the primary documents, and
3) how well it references the documentary sources.
Up to 10 points is based specifically on the essay’s writing standards.

[supanova_question]

7-10 paper assignment related to crises management Business Finance Assignment Help

The purpose of this assignment is to apply concepts reflected in the course text (Hopkin’s book) and other literature sources to evaluate and recommend a course of action based upon your risk assessment in the scenario described below.

Hopkin provides an overview of the 4 T’s of Hazard Response in Chapter 15.Create a scenario that clearly identifies a setting that shows risk potential.Then, apply the 4T model to that scenario.For example, a large rock concert, Presidential visit or the like.Based upon your assessment of the scenario, develop a recommendation paper to a supervisor (your choice) showing organizational risk.

The paper should be 7 – 10 pages long.The following format is recommended.

Title: The 4 T Analysis of ____________ (name of your scenario).

Abstract:One paragraph on the second page; tells what the paper is about

Introduction:

Address the following elements from the model as they relate to your analysis of the model:

  • Tolerate
  • Treat
  • Transfer
  • Terminate

Recommendations:Present what you consider to be the major recommendations that upper management should recognize as important and that should be implemented.Include evidence in the literature as indicated in any of the sections of your paper.

Significance:Describe the “lessons learned” and implications for risk management.

Important notes:

– Please use proper APA format for in-line citation and references

– The paper must be 7-10 papers (first page and references page are not included)


[supanova_question]

Migration and African Americans in the late 1800’s Humanities Assignment Help

  1. Why was there a global migration from rural to urban areas in the late 1800s?
  2. Who came to the U.S.? Why?
  3. What distinguished “old immigrants” from “new immigrants?”
  4. How and why did the social geography of the cities change in the late 1800s? Where did immigrants tend to live? What jobs did they do?
  5. Describe tenement life? How did the lives of the working poor immigrants contrast with that of the rich?
  6. Who were the city “bosses?” How did they they get and keep power? Who benefitted from bossism?
  7. Why did Chicago emerge as a major city in the late 1800s? Why did it become known as the “City of Broad Shoulders?”
  8. How and why were Chicago’s slums different from those in NYC? How did the working poor cope with the conditions they faced? What functions did saloons serve?
  9. What was important about the World’s Columbian Exposition in Chicago in 1893? What did it represent? How did the “White City” contrast with the realities of Chicago?
  10. Why did Chinese immigrants come to California? Why and how did Chinese American laborers help build railroads during this era?
  11. What is “nativism?” How did nativists define race in the late 1800s? Why was the Chinese Exclusion Act passed in 1882? What was important about this legislation?
  12. Why and how did many Chinese Americans maintain transnational ties?
  13. How was Chinese American identity shaped by developments in the late 1800s?
  14. How and why were cities transformed in the late 1800s? How did cities transform America?
  1. What is meant by a “new south” in the late 1800s? How was it different from the “Old South,” particularly for African Americans?
  2. What were the problems with sharecropping?
  3. What were Jim Crow laws? What was the significance of the Plessy v. Ferguson decision?
  4. How and why were black voters denied the right to vote in the late 1800s?
  5. How did lynching illustrate the southern horrors facing blacks? What were the long term effects of the physical and psychological intimidation of blacks by whites?
  6. How did Booker T. Washington propose that African Americans respond to the conditions they faced? Why did he take this position?
  7. What actions did W.E.B. DuBois propose that African Americans take to respond to the conditions they faced? Why did he take this position?
  8. What prompted Ida B. Wells to launch an anti-lynching campaign? What tactics did she use? What strategies did she encourage to counter discrimination and intimidation?
  9. What major issue did women face in the late 1800s? In what ways were women politically active at that time?
  10. Why was the Women’s Temperance Christian Union the most important women’s organization of the era? How and why did Frances Willard influence the work of the WCTU? What was the argument supporting the “home protection” ballot?
  11. What was the status of the women’s suffrage movement in the late 1800s?
  12. What explained the emergence of the black women’s club movement? What issues did these groups address? What was the main issue dividing black and white women activists?
  13. In general, what was the legacy of the struggle for African American and women’s freedom and equality in the late 1800s?

[supanova_question]

Project Management paper Business Finance Assignment Help

ORIGINAL THOUGHTS ONLY

NO PLAGIARISM

PLEASE FOLLOW INSTRUCTIONS AND VIEW THE ATTACHMENTS SO YOU CAN SEE THE PROJECT

Due Week 10 and worth 200 points

Imagine that you have completed the same project discussed in Assignment 4. You exceeded the project budget, but you were able to complete the project within 15% of its scheduled completion date. Now, the management has requested a project review of your project.

Write a six to eight (6-8) page paper in which you:

  1. Analyze the closeout process for your project. Next, determine the main challenges that you would encounter during the project closeout process, and provide your strategy to address the challenges in question.
  2. Select one (1) tool, other than MS Project, that you could use in order to manage project costs and scheduling. Next, speculate on the overall different project management strategy that you would apply based on the tool that you have selected. Provide a rationale to support your response.
  3. Analyze whether or not continuous process improvements would have helped the delivery of your project. Provide a rationale to support your response.
  4. Speculate on whether or not using risk management techniques would have affected the delivery of your project. Provide at least two (2) examples of using risk management techniques that would have helped the delivery of your project to support your response.

Your assignment must follow these formatting requirements:

  • Be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions.
  • Include a cover page containing the title of the assignment, the student’s name, the professor’s name, the course title, and the date. The cover page and the reference page are not included in the required assignment page length.

The specific course learning outcomes associated with this assignment are:

  • Analyze quality assurance processes in project management.
  • Evaluate systems for cost tracking and budget monitoring.
  • Use technology and information resources to research issues in project estimating and budgeting.
  • Write clearly and concisely about project estimating and budgeting using proper writing mechanics.

Grading for this assignment will be based on answer quality, logic / organization of the paper, and language and writing skills, using the following rubric found here.

[supanova_question]

[supanova_question]

SuperFun Toys Case Study Word Document Report and Excel Data Set Calculations Mathematics Assignment Help

Purpose of Assignment

The purpose of this assignment is for students to learn how to make managerial decisions using a case study on Normal Distribution. This case uses concepts from Weeks 1 and 2. It provides students an opportunity to perform sensitivity analysis and make a decision while providing their own rationale. This assignment also shows students that statistics is rarely used by itself. It shows tight integration of statistics with product management.

Assignment Steps

Resources: Microsoft Excel®, SuperFun Toys Case Study, SuperFun Toys Case Study Data Set (Both the Case Study and Excel Data Set attached below).

Review the SuperFun Toys Case Study and Data Set. (Attached Below).

Develop a 1,050-1,155-word analysis case study analysis including the following(side note: my professor is strict on word count and preferes we do not go over or under 10% of the total word count requirement, which for this assignment is 1,050 and points will be taken off if word count is under and will not be read if it is over 10%).

  • Introduction
  • Use the sales forecaster’s prediction to describe a normal probability distribution that can be used to approximate the demand distribution.
  • Sketch the distribution and show its mean and standard deviation. Hint: To find the standard deviation, think Empirical Rule covered in Week 1.(Please show on Excel how these are calculated out; include a brief description within report of the computations and how you sketch a “normal probability distribution” curve step-by-step, is labeled on the Excel “tab” worksheet). Format onto Word Document
  • Compute the probability of a stock-out for the order quantities suggested by members of the management team (i.e. 15,000; 18,000; 24,000; 28,000). (Please show on Excel how these are calculated out; include a brief description within report of the computations). Format onto Word Document.
  • Compute the projected profit for the order quantities suggested by the management team under three scenarios: pessimistic in which sales are 10,000 units, most likely case in which sales are 20,000 units, and optimistic in which sales are 30,000 units.(Please show on Excel how these are calculated out; include a brief description within report of the computations). Format onto Word Document.
  • One of SuperFun’s managers felt the profit potential was so great the order quantity should have a 70% chance of meeting demand and only a 30% chance of any stock- outs. What quantity would be ordered under this policy, and what is the projected profit under the three sales scenarios?
  • Conclusion

Format your assignment consistent with APA format, include APA citations and no plagiarism!.

For references, please include direct web link sources.

SuperFun Toys Case Study Word Document Report and Excel Data Set Calculations Mathematics Assignment Help[supanova_question]

I need you to write 5 separated journals approximately 250-300 words each (​Rhetoric, Philosophy) Humanities Assignment Help

I need you to write 5 separated journals approximately 250-300 words each. All of them about the “Are philosophy and rhetoric at odds”. 2-3 of the journals support the arguments and the others 2-3 journals oppose the topic.

Each journal must have the following parts:

  • An objective summary of the article.
  • The summary should focus on those aspects or parts of the source that are most relevant to the topic and argument.
  • Gives a clear discuss ideas or examples that support the topic.
  • Offer a couple of sentences that explain how might use this source to support the topic.
  • The journals must be form academic sources.
  • [supanova_question]

    Stack Template Programming Assignment Help

    This assignment involves the writing of 2 CPP’s. To it’s clear which CPP goes with which “part” of the assignment, make sure that you have some reference to the part number in your file names (like part1.cpp or testing.1.cpp for example).

    Part 1, Developing And Testing A Stack Template

    Write a template, MyStack.h, to implement a LIFO stack. Here is the specification for its public interface:

    class MyStack
    {
    ...
    MyStack( ); // may have a defaulted parameter
    void push(const V&);
    V& peek( );
    void pop( );
    int size( ) const;
    bool empty( ) const;
    void clear( );
    };

    If you use dynamic memory (and you surely will!) be sure to include the three memory management functions as public members, too.

    You may implement your MyStack as arrayed or as linked — your choice.

    Fully test your template in a test driver CPP named as you wish, remembering to include all the tests we’ve learned about in this class. Then use the H file in the following application:

    Part 2, An RPN Calculator App

    Use your stack template from part 1 to apply “reverse Polish notation” (RPN (Links to an external site.)Links to an external site.) as it was used in the earliest electronic calculators. In the 1960’s, digital processors and memory were expensive, big, and slow. Algorithms for parsing, that we have in modern calculators, were just not feasible because of the memory and processing power required.

    Calculators like the HP-35 (Links to an external site.)Links to an external site. simplified math operations by applying RPN. They worked like this — operands (Links to an external site.)Links to an external site. for plus, minus, multiply, and divide got entered and stored in a stack. Then operations (Links to an external site.)Links to an external site. got entered, that would pop the top two values from the stack, do the operation, and push the result back to the stack. So one plus one worked like this: 1 [ENTER] 1 [ENTER] — now there are two values in the stack. Then + [ENTER] — the two 1’s are popped, added, and 2 gets put onto the stack. Final stack size, 1, and no parsing required!

    Stack size was large enough for more complex calculations, like (1 + 2) / (4 + 5). Since the result of an operation gets put onto the stack and not just simply displayed, here’s how this more complicated expression worked: 1 [ENTER] 2 [ENTER] + [ENTER] — now 3 is on the stack, where it will remain while this is done: 4 [ENTER] 5 [ENTER] + [ENTER], which puts 9 onto the stack above the previous 3. Stack size, 2. Now just one more operation: / [ENTER], and 0.3333333 replaces the popped 3 and 9 on the stack. To recap, 1 [ENTER] 2 [ENTER] + [ENTER] 4 [ENTER] 5 [ENTER] + [ENTER] / [ENTER].

    Write your app as a C++ console program. In a loop, process input from the user. If a plus (+), minus (), multiply (*), or divide (/) symbol is entered, perform the operation with the two values at the top of the stack, and push the result onto the stack. If a Q or q is entered, break from the loop. Otherwise, apply atof to the entry (without checking to see if it’s a number) and push its result onto the stack. Allow for floating point values.

    DO NOT worry about division by zero or any other numeric validation. DO avoid popping from the stack when the stack is empty — for example, if the user enters a plus operator, and there are fewer than two values in the stack, simply ignore the user’s request and loop back to wait for the next input.

    You may allow the user to type multiple entries on the same line of input, space-separated (before pressing ENTER), if you wish. Like 1 2 + 4 5 + / [ENTER]

    Include the current stack contents in the input prompt (see below). Formatting of output precision is not required or recommended.

    Example (computer prompts in bold). Your program should match these RESULTS, formatted as you choose.

    Example: five plus six
    Enter: 5 [ENTER]
    Enter: 5 6 [ENTER]
    Enter: 6 5 + [ENTER]
    Enter: 11

    Example: ten minus one
    Enter: 10 [ENTER]
    Enter: 10 1 [ENTER]
    Enter: 1 10 - [ENTER]
    Enter: 9 Q [ENTER]

    Example: one divided by two
    Enter: 1 [ENTER]
    Enter: 1 2 [ENTER]
    Enter: 2 1 / [ENTER]
    Enter: 0.5

    Example: add with empty stack
    Enter: + [ENTER]
    Enter:
    Example: Pi times the radius squared
    Enter: 3.14159 [ENTER]
    Enter: 3.14159 18 [ENTER]
    Enter: 18 3.14159 18 [ENTER]
    Enter: 18 18 3.14159 * [ENTER]
    Enter: 324 3.14159 * [ENTER]
    Enter: 1017.88

    Example: (1+2)/(3+4)
    Enter: 1 [ENTER]
    Enter: 1 2 [ENTER]
    Enter: 2 1 + [ENTER]
    Enter: 3 3 [ENTER]
    Enter: 3 3 4 [ENTER]
    Enter: 4 3 3 + [ENTER]
    Enter: 7 3 / [ENTER]
    Enter: 0.428571

    Example: add with one value in stack
    Enter: 1 [ENTER]
    Enter: 1 + [ENTER]
    Enter: 1

    Order matters. Note that 10 [ENTER] 1 [ENTER] – [ENTER] is 9, not -9. and 1 [ENTER] 2 [ENTER] / [ENTER] is 0.5, not 2. Make sure your program gives the same numeric results as in the samples above.

    Submit 4 Files

    Submit your test driver CPP, your app CPP, and your template’s H file for grading.

    Also, Submit a word document with your code copied and pasted PLUS one or more screen shots of the output of your app.

    [supanova_question]

    week 10 hw Business Finance Assignment Help

    Can you just review the work and fix what needs to be fixed if the answers are incorrect. If there are things that need to be fixed can you adjust them. I also attached homework help for the assignment.

    This is the format the teacher looking for

    1. Use ONE Excel file
    2. Your first worksheet within that file should be your name and the assignment title
    3. Put ONE problem on each separate worksheet within that file
    4. Label each worksheet with the chapter and problem number (i.e., Ch3-pr8)
    5. Include ALL formulas in the function ribbon for each cell so I can check your work
    6. HIGHLIGHT your final answers (I don’t care what color, as long as I can read the answer)

    [supanova_question]

    Essay writing-help Writing Assignment Help

    everal of your courses may ask you to “reflect” on readings and/or write a reflection paper or essay. The general idea is for you to read, view, or do something, and then figure out what it means to you. Some of your writing is devoted to analyzing what you read, viewed or did, and some of it is devoted to its meaning for you. In your reflection, read three essays in your text (The Norton Reader). Select from the list noted in the “Readings and Preparation” section above. Then write a reflection, using the headings below. Your reflection should be a minimum of 500 words. This assignment will also help you become accustomed to the style of essays in your text for this course. The minimum word requirement for this assignment is a bit shorter than others in the course, which are a minimum of 750 words. This difference is intentional to help you adjust to the style of work in the course. You will be reading essays throughout the course.

    Headings for Reflection Essay:

    • Introduction
      • In your introduction, address the readings you chose and why you selected them.
    • Challenges of the Readings
      • Under this heading, explain two or more challenges that you had while reading. These challenges can be anything from finding yourself distracted or finding a need to re-read passages. Include how you might face these challenges when you read additional essays later in the class.
    • Highlight of Readings
      • Under this heading, explain two or more highlights of the readings. What did you learn, like or discover, and what surprised you? Were there any assumptions you held before you read the essays? If so, did these assumptions change after reading them? Please elaborate.
    • Ask the Author
      • Imagine that you have an opportunity to follow up with one of these authors and ask them to tell you more. What would you ask and why?
    • Your Personal Account or Journal Plan
      • Think about what you would write about if you were to write a personal account or journal plan. What would you write about and why? How would it be different or similar to the accounts or journals you read?

    [supanova_question]

    https://anyessayhelp.com/ got entered, that would pop the top two values from the stack, do the operation, and push the result back to the stack. So one plus one worked like this: 1 [ENTER] 1 [ENTER] — now there are two values in the stack. Then + [ENTER] — the two 1’s are popped, added, and 2 gets put onto the stack. Final stack size, 1, and no parsing required!

    Stack size was large enough for more complex calculations, like (1 + 2) / (4 + 5). Since the result of an operation gets put onto the stack and not just simply displayed, here’s how this more complicated expression worked: 1 [ENTER] 2 [ENTER] + [ENTER] — now 3 is on the stack, where it will remain while this is done: 4 [ENTER] 5 [ENTER] + [ENTER], which puts 9 onto the stack above the previous 3. Stack size, 2. Now just one more operation: / [ENTER], and 0.3333333 replaces the popped 3 and 9 on the stack. To recap, 1 [ENTER] 2 [ENTER] + [ENTER] 4 [ENTER] 5 [ENTER] + [ENTER] / [ENTER].

    Write your app as a C++ console program. In a loop, process input from the user. If a plus (+), minus (), multiply (*), or divide (/) symbol is entered, perform the operation with the two values at the top of the stack, and push the result onto the stack. If a Q or q is entered, break from the loop. Otherwise, apply atof to the entry (without checking to see if it’s a number) and push its result onto the stack. Allow for floating point values.

    DO NOT worry about division by zero or any other numeric validation. DO avoid popping from the stack when the stack is empty — for example, if the user enters a plus operator, and there are fewer than two values in the stack, simply ignore the user’s request and loop back to wait for the next input.

    You may allow the user to type multiple entries on the same line of input, space-separated (before pressing ENTER), if you wish. Like 1 2 + 4 5 + / [ENTER]

    Include the current stack contents in the input prompt (see below). Formatting of output precision is not required or recommended.

    Example (computer prompts in bold). Your program should match these RESULTS, formatted as you choose.

    Example: five plus six
    Enter: 5 [ENTER]
    Enter: 5 6 [ENTER]
    Enter: 6 5 + [ENTER]
    Enter: 11

    Example: ten minus one
    Enter: 10 [ENTER]
    Enter: 10 1 [ENTER]
    Enter: 1 10 - [ENTER]
    Enter: 9 Q [ENTER]

    Example: one divided by two
    Enter: 1 [ENTER]
    Enter: 1 2 [ENTER]
    Enter: 2 1 / [ENTER]
    Enter: 0.5

    Example: add with empty stack
    Enter: + [ENTER]
    Enter:
    Example: Pi times the radius squared
    Enter: 3.14159 [ENTER]
    Enter: 3.14159 18 [ENTER]
    Enter: 18 3.14159 18 [ENTER]
    Enter: 18 18 3.14159 * [ENTER]
    Enter: 324 3.14159 * [ENTER]
    Enter: 1017.88

    Example: (1+2)/(3+4)
    Enter: 1 [ENTER]
    Enter: 1 2 [ENTER]
    Enter: 2 1 + [ENTER]
    Enter: 3 3 [ENTER]
    Enter: 3 3 4 [ENTER]
    Enter: 4 3 3 + [ENTER]
    Enter: 7 3 / [ENTER]
    Enter: 0.428571

    Example: add with one value in stack
    Enter: 1 [ENTER]
    Enter: 1 + [ENTER]
    Enter: 1

    Order matters. Note that 10 [ENTER] 1 [ENTER] – [ENTER] is 9, not -9. and 1 [ENTER] 2 [ENTER] / [ENTER] is 0.5, not 2. Make sure your program gives the same numeric results as in the samples above.

    Submit 4 Files

    Submit your test driver CPP, your app CPP, and your template’s H file for grading.

    Also, Submit a word document with your code copied and pasted PLUS one or more screen shots of the output of your app.

    [supanova_question]