In: Operations Management
Do americans have a right to affordable health care? (Please write a 300 word response)
In: Psychology
1. Create a PHP page with standard HTML tags. Remember to save
the file with
the .php extension.
Inside the <body> tag, create a PHP section that will show
the text "Hello
World!"
2. For this exercise, echo the phrase "Twinkle, Twinkle little
star." Create
two variables, one for the word "Twinkle" and one for the word
"star". Echo
the statement tothe browser.
3. PHP includes all the standard arithmetic operators. For this
PHP
exercise, you will use them along with variables to print equations
to the
browser. In your script, create the following variables:
$x=10;
$y=7;
Write code to print out the following:
10 + 7 = 17
10 - 7 = 3
10 * 7 = 70
10 / 7 = 1.4285714285714
10 % 7 = 3
Use numbers only in the above variable assignments, not in the
echo
statements. You will need a third variable as well.
Note: this is intended as a simple, beginning exercise, not using
arrays or
loops.
4. Arithmetic-assignment operators perform an arithmetic operation
on the
variable at the same time as assigning a new value. For this PHP
exercise,
write a script to reproduce the output below. Manipulate only one
variable
using no simple arithmetic operators to produce the values given in
the
statements.
Hint: In the script each statement ends with "Value is now
$variable."
Value is now 8.
Add 2. Value is now 10.
Subtract 4. Value is now 6.
Multiply by 5. Value is now 30.
Divide by 3. Value is now 10.
Increment value by one. Value is now 11.
Decrement value by one. Value is now 10.
In: Computer Science
Sensitivity analysis (20 marks, 2 marks per subquestion)
A garden store prepares various grades of pine bark for mulch: nuggets (x1), mini-nuggets (x2), and chips (x3). The production process requires pine bark, machine time, and labour time. Each bag of nuggets requires 5 pounds of barks, 2 minutes of machine time, and 2 hours of labour time. To produce one bag of mini-nuggets, 6 pounds of barks, 4 minutes of machine time, and 4 hours of labour time are needed. The production of one bag of chips consumes 3 pounds of barks, 5 minutes of machine time, and 3 labour hours. The store has 600 pounds of barks, 660 minutes of machine time, and 480 hours of labour time available for the next production run. The demand for the three products is at least a total of 150 bags. The unit profit contribution of nuggets, mini-nuggets, and chips are $9, $9, and $6 per bag, respectively. The following linear programming model has been developed:
Decision variables
x1 = bags of nuggets to produce
x2 = bags of mini-nuggets to produce
x3 = bags of chips to produce
Objective function
Maximize z = 9x1 + 9x2 + 6x3
Constraints:
Bark: 5x1+ 6x2 + 3x3< 600 pounds
Machine: 2x1+ 4x2 + 5x3< 660 minutes
Labour: 2x1+ 4x2 + 3x3< 480 hours
Demand: x1+ x2 + x3> 150 bags
Non-negativity requirement: x1, x2, x3> 0
The Excel Solver sensitivity report is given on the next page, please answer the following questions based on the report.
NOTE:
1. EACH QUESTION THAT FOLLOWS REFERS TO THE ORIGINAL PROBLEM. THAT IS, EACH QUESTION IS INDEPENDENT OF THE OTHER QUESTIONS.
2. IF IT IS IMPOSSIBLE TO ANSWER THE QUESTION WITHOUT USING THE COMPUTER, YOU MUST STATE THAT IN YOUR ANSWER AND BRIEFLY EXPLAIN WHY.
3. NO MARKS WILL BE GIVEN FOR UNSUPPORTED ANSWERS. CALCULATIONS SHOULD BE DONE IN THE SPACE PROVIDED. CLEARLY PRINT YOUR ANSWER IN THE BOX PROVIDED.
4. ALL EXPLANATIONS MUST BE LIMITED TO 15 WORDS. ONLY THE FIRST 15 WORDS OF YOUR EXPLANATION WILL BE READ BY THE MARKER.
Sensitivity Report
(a) What are the optimal solution and its objective function value?
Answer
x1 = x2 = x3 =
The objective function value is:
Explain where you find this information and show your calculation of the objective function value below (clearly PRINT no more than 15 words):
Calculation
(b) If the manager is able to obtain additional 50 minutes of machine time through better scheduling. What is the impact of this change on the objective function value?
Calculations
The new objective function value is:
Answer (Complete ONE appropriate box ONLY)
|
The impact on the objective function can be obtained without resolving the problem on the computer. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(c) What is the impact on the optimal solution and the objective function value if the unit profit contribution for mini-nuggets increases from $9/bag to $10/bag?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
Current solution remains optimal. Mark X here: the profit contribution increases for mini-nuggets is less than reduced cost The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(d) The manager noticed that a new product, super-chip, is now available at its competitors’ stores. Based on his estimate, super-chips would be able to bring in a profit of $7.00 per bag, requiring 4 pounds of barks, 7 minutes of machine time, and 4 labour hours. Assume that the total demand for all products remains at 150 bags. What is the impact on the optimal solution and objective function value if the store manager decides to introduce this new product?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
Current solution remains optimal. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(e) After the production process goes on for one week, the manager found that each bag of nuggets needs only 4 pounds of barks rather than 5. What is the impact on the objective function value if this error is corrected?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
The impact on the objective function can be obtained without resolving the problem on the computer. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(f) The manager now realizes that he has limited storage space for the product: he will not be able to stock up anything beyond 160 bags for the total of all products. What is the impact on the optimal solution?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
Current solution remains optimal. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(g) If the supplier does not have enough barks and, hence, provides only 550 pounds of barks to the manager, what is the impact on the objective function value?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
The impact on the objective function can be obtained without resolving the problem on the computer. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(h) What is the impact on the optimal solution and the objective function value if the unit profit contributions for nuggets and mini-nuggets both increase by 10%?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
Current solution remains optimal. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
(i) The manager has been notified that he should not worry about the availability of labour hours as another production line has been closed due to the recent economic turmoil. Therefore, there will be unlimited labour hours available (in the context of the size of this particular business) to him without any additional cost. What is the impact on the optimal solution and the objective function value?
Calculations
Answer (Complete ONE appropriate box ONLY)
|
Current solution remains optimal. Mark X here: The new objective function value is: Explain (clearly PRINT no more than 15 words): |
|
The problem must be re-solved on the computer. Mark X here: Explain (clearly PRINT no more than 15 words): |
In: Operations Management
PLEASE NOTE:1)-DO NOT USE FUNCTIONS USE ONLY DO WHILE LOOP.
2)DO NOT USE IN-BUILT FUNCTIONS.
3)Use of string and char is not allowed.
Write a program in c laungage that prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range1 through 256.
In: Computer Science
You have been hired to be the campaign manager for a candidate for Governor of the State of Texas. As campaign manager, you need to develop the campaign plan based on the four of the five (do not worry about campaign organization) components of a modern campaign. Please address the following ... Candidate: A description of the qualifications (personal and professional) of the fictional candidate you will be working for. Create the biography for your candidate, including name, experience, history and characteristics (include political party) for your candidate. Campaign Message: Select one of the campaign messages in the notes and talk about how it will be used in your campaign- it should be a good fit for the candidate you describe. Campaign Strategy: Explain what types of voters are likely to vote for you (based on candidate qualities and campaign message). Campaign Resources: Explain what types of people are most likely to donate money to and work in your campaign.
In: Psychology
Discuss SPC's growth strategy. What additional market(s) would you recommend pursuing? Please answer this question with Jim Poss case.
In: Operations Management
In: Psychology
MONGODB Question (Similar to JSON) NOSQL QUESTION
1. Describe a scenario and write a query that uses any two of these functions: $concat, $substr, $toLower, $toUpper
2. Describe a scenario and write a query that uses any two of these functions: $add, $divide, $mod, $multiply, $subtract
3. Describe a scenario and write a query that uses $redact, $$descend and $$prune command
In: Computer Science
comment at least 75 words.
Growing up my search of autonomy looked a little different than a lot of kids my age. I was not very supervised growing up so learning independence came early. I remember getting my first job at fifteen and learning how to provide for my sisters at that age. There was a lot of pressure put on me at an early age. For me, gaining independence looked more like pulling away from care giving as we all got older. I had to learn to find an identity within myself that was not connected to other people. That was challenging for me because I carried to role of being the rescuer for so long. But as I got older and started to discover myself apart from that I found so much more freedom and peace. As for my kids I dont want them to have to feel like they have the same role I did. I want to give them the chance to be kids and not have to worry. I want to be around more for them and provide better for them. I think life events with parents can go one of two ways. either the child follows their foot steps or wants to be different. and in my case I want to be a different kind of parent.
In: Psychology
1) The United States economy is growing at a faster rate than its trading partner United Kingdom. As a result, the rate of American inflation is increasing.
1A) Show and explain how the increase in inflation will affect the international value of the United States dollar and the value of the British pound. (Make sure you graph each, using the concepts of supply and demand and the cost of domestic goods in your explanation.)
1B) Explain how the changing value of the dollar will affect the United States' exports and imports. (Make sure you use the concepts of the cost of foreign and domestic goods in your explanation.)
2) The Federal Reserve decreases the money supply in the United States causing interest rates to increase.
2A) Explain how the change in interest rates will affect United States aggregate demand. (Make sure to include the determinant that causes the change in aggregate demand in your explanation.)
2B) Draw a correctly labeled graph of the foreign exchange market for the British pound, showing the effect of the increasing interest rate identified in the scenario on the value of the British pound relative to the U.S. dollar. (Make sure you use the concepts of supply and demand and financial capital in your explanation.)
In: Economics
For your analysis of this module's material, think about the growing capabilities of technology to connect people and the potential opportunities and challenges of the increasing connectivity throughout the world. What is your outlook on the importance of the Internet, IoT (the Internet of Things) and other connectivity technology? Do you agree with Gilder's concept of the "Telecosm" (see module Overview)? In your discussion share an example of at least one benefit and one challenge (that weren't already covered in the module) of the continued development of global connectivity.
In: Computer Science
1. Write a function named ”ThreeDicesAdd” to perform the
following ”experiment” 1000 times: roll 3
six-sided dice and add their values. Put the outcomes in a list
called addDiceList. So addDiceList should
have length 1000, and each of the 1000 elements should be an
integer from 3 to 18. Plot the histogram of
the outcomes.
2. For the same experiment as in question 1, write a function named
”ThreeDicesAdd2” to increase the
experiment times (N) and see how the histogram of the outcomes
changes. For each N, you will have one
histogram plot. Output all plots as a GIF file. (Choose N= 1000 :
10,000 : 1,000,000). matlab question
In: Computer Science
4 visa
5 mastercard
34 and 37 amex
30, 36, 38, 39 diners
60, 64, 65 discover
In: Computer Science
Case Study Analysis on Karen Carpenter (eating disorder - anorexia nervosa).
Provide a detailed and long answer with reliable sources.
In: Psychology