created a new StringBuilder sb using the following index:
StringBuilder sb = new StringBuilder ("Welcome To ");
What would be sb after each of the following statements? Explain the methods used and how they change the content
sb.append("Java");
sb.insert(11, "HTML and ");
In: Computer Science
Case Problem - Regression
Are you going to hate your new job?
Getting a new job can be exciting and uplifting. But what if you discover that after a short time on the job, that you hate your new job? Is there any way to determine ahead of time whether you will love or hate your new job? According to the Wall Street Journal, there are a few things to look for in the interview that might help you to determine whether you will be happy on that job.
A study conducted by the University of Connecticut posed several questions to employees to ascertain their job satisfaction. Themes included: relationship with the supervisor, overall quality of the work environment, total weekly hours worked, and opportunity for advancement at the job. Nineteen employees were asked to rate their job satisfaction on a scale of 0-100, with 100 being perfectly satisfied. The results of the survey are as follows. Assume that the relationship with a supervisor is rated from 0-50, with 50 as excellent. Overall workplace quality rated from 0-100, with 100 representing an excellent environment and opportunities for advancement on a scale of 0-50 with 50 representing excellent opportunity.
Job Relationship Overall Quality Total Hrs. Opportunities
Satisfaction w/ Supervisor Work Environ Worked/wk Advancement
55 27 65 50 42
20 12 13 60 28
85 40 79 45 7
65 35 53 65 48
45 29 43 40 32
70 42 62 50 41
35 22 18 75 18
60 34 75 40 32
95 50 84 45 48
65 33 68 60 11
85 40 72 55 33
10 5 10 50 21
75 37 64 45 42
80 42 82 40 46
50 31 46 60 48
90 47 95 55 30
75 36 82 70 39
45 20 42 40 22
65 32 73 55 12
1. Develop a multiple regression model and analyze the data above related to job satisfaction. Use the four step analytical process to analyze the data. Test at the 0.05 level of significance and discuss in detail.
2. Of the variables above that are related to job satisfaction, which variables are stronger predictors of job satisfaction? Are other variables not mentioned here, potentially related to job satisfaction? Discuss in detail.
In: Math
|
NEW PROJECT ANALYSIS You must evaluate a proposal to buy a new milling machine. The base price is $195,000, and shipping and installation costs would add another $13,000. The machine falls into the MACRS 3-year class, and it would be sold after 3 years for $87,750. The applicable depreciation rates are 33%, 45%, 15%, and 7%. The machine would require a $6,000 increase in net operating working capital (increased inventory less increased accounts payable). There would be no effect on revenues, but pretax labor costs would decline by $50,000 per year. The marginal tax rate is 35%, and the WACC is 10%. Also, the firm spent $5,000 last year investigating the feasibility of using the machine. How should the $5,000 spent last year be handled? A. Last year's expenditure is considered as a sunk cost and does not represent an incremental cash flow. Hence, it should not be included in the analysis. B. The cost of research is an incremental cash flow and should be included in the analysis. C. Only the tax effect of the research expenses should be included in the analysis. D. Last year's expenditure should be treated as a terminal cash flow and dealt with at the end of the project's life. Hence, it should not be included in the initial investment outlay. E. Last year's expenditure is considered as an opportunity cost and does not represent an incremental cash flow. Hence, it should not be included in the analysis. What is the initial investment outlay for the machine for
capital budgeting purposes, that is, what is the Year 0 project
cash flow? Round your answer to the nearest cent. What are the project's annual cash flows during Years 1, 2, and 3? Round your answer to the nearest cent. Do not round your intermediate calculations. Year 1 $ Year 2 $ Year 3 $ Should the machine be purchased? |
In: Finance
I am new to python, and i used python 3. i have to make a new program can anyone give tell mw how to do this.
A) Write a function with the name doubler. The function should take an integer parameter and return twice the value of the integer.
Test the function with the following code:
print(“Double of 6 is”,doubler(6))
The printout should be:
Double of 6 is 12
B) Write a function with the name scoreToLetter. The function should take an integer parameter and give out a letter grade according to the following grade table:
|
Score >=90 |
A |
|
80<=score<90 |
B |
|
70<=score< 80 |
C |
Test the function with the following code:
X = 85
Print (“Your grade is”,scoreToLetter(x))
This should print:
Your grade is B
C) Write a function ‘sumOfThrows’ that takes two parameters ‘throws’ and ‘sides’. ‘sides’ should have a default values of 6. The function should return the sum from doing however many random throws specified for a die with ‘sides’ number of sides.
Test the function.
For example sumOfThrows(1,6) should show the outcome of throwing one six-sided die.
sumOfThrows(3,8) should show the outcome of throwing three dice with sides numbered 1 through 8.
sumOfThrows(2) should show the outcome of throwing two six-sided dice.
D) Move all functions to a module with name myFunctions.py. Import the myFunctions module and test all functions.
E) Submit both myFunction.py and the file with your tests named tests.py
In: Computer Science
Multiple Choice
(18) One school of thought concerning anti-trust argues that rather than ensuring efficiency, anti-trust laws are really aimed at ________.
A. outlawing all monopolies whether they perform “bad acts” or not
B. protecting small independent firms against large corporations
C. restricting interlocking directorates
D. price differentiation due to differences in quality and cost
(28) The method of estimating long-run costs in which knowledgeable professionals familiar with production facilities and processes calculate optimal combination of inputs to produce given quantities and then estimate costs is known as ________.
A. engineering cost estimating
B. the survivorship method
C. None of these answers is correct.
D. regression analysis
(29) Which of these statements is true about costs in the long run?
A. Variable costs tend to be greater than fixed costs.
B. Fixed costs tend to be greater than variable costs.
C. All costs are fixed costs.
D. All costs are variable costs.
(33) When using expert opinion, consumer surveys, test marketing, and price experiments to analyze consumer behavior, managers must consider how to isolate the effect of different variables that influence demand.
A. True
B. False
In: Economics
| School | Revenue | %Wins | Salary |
| Alabama | 6.5 | 61 | 1.00 |
| Arizona | 16.6 | 63 | 0.70 |
| Arkansas | 11.1 | 72 | 0.80 |
| Boston College | 3.4 | 80 | 0.53 |
| California | 6.0 | 68 | 0.85 |
| Cincinnati | 5.7 | 61 | 0.18 |
| Duke | 12.4 | 90 | 1.40 |
| Florida | 6.5 | 80 | 1.70 |
| Florida State | 6.8 | 68 | 0.74 |
| Gonzaga | 2.5 | 90 | 0.50 |
| Illinois | 11.3 | 83 | 0.70 |
| Indiana | 11.9 | 63 | 0.78 |
| Iowa | 10.5 | 73 | 0.80 |
| Kansas | 11.8 | 76 | 1.00 |
| LSU | 4.6 | 76 | 0.72 |
| Marquette | 5.8 | 67 | 1.10 |
| Memphis | 5.6 | 90 | 1.20 |
| Michigan State | 11.0 | 68 | 1.60 |
| N.C. State | 11.4 | 72 | 0.90 |
| Nevada | 3.3 | 83 | 0.26 |
| Northern Iowa | 1.2 | 72 | 0.18 |
| Ohio State | 11.4 | 85 | 0.83 |
| Oklahoma | 6.2 | 74 | 1.00 |
| Pittsburg | 7.8 | 79 | 0.49 |
| San Diego State | 2.6 | 73 | 0.36 |
| Southern Illinois | 1.2 | 69 | 0.21 |
| Syracuse | 12.4 | 66 | 0.38 |
| Tennessee | 5.4 | 78 | 0.80 |
| Texas | 12.0 | 83 | 1.30 |
| Texas A&M | 6.5 | 74 | 0.63 |
| UAB | 1.9 | 82 | 0.60 |
| UCLA | 7.1 | 81 | 0.91 |
| Uconn | 7.9 | 90 | 1.50 |
| UNC | 15.0 | 78 | 1.40 |
| Villanova | 4.2 | 89 | 0.51 |
| Washington | 5.0 | 83 | 0.89 |
What can we say about winning percentage and coach's salary as contributors to "Revenue"? Select one: a. Surprisingly, coach's salary has a positive impact on revenue, while winning percentage has a negative impact. b. As would be expected, winning percentage has a positive effect, and coach's salary impact is negative. c. Both winning percentage and coach's salary have a positive impact on revenue. d. More data is needed to conduct a meaningful analysis. e. Answer pending
What is the error of estimation for Alabama’s revenue?
Select one:
a. 4.1 Million
b. 10.6 Million
c. 8.3 Million
d. 0
e. Cannot be determined.
In: Statistics and Probability
In: Nursing
Student Activity 12-2
Real-Life Applications: Case Scenario One
A friend from high school, pregnant with her third child, moved into your neighborhood. She told you that her eldest child was very ill and required a bone marrow transplant. There were no matching donors on the national list. She and her husband decided to have a baby who could be used to save her other child. She asked what you thought of her actions. Before making any statements that could hurt your friend, you decide to do some research on the topic.
Activity
(1) Explain this type of procedure and what the procedure entails, (2) identify any ethical issues associated with this type of procedure, and (3) provide an opinion on this procedure—would you do it or not and why?
Responses
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Case Scenario Two
You need a back operation but cannot afford your cost share of the operation. You have heard that other countries may offer less-expensive medical procedures. You decide to investigate this option.
Activity
Perform an Internet search and use textbook information on medical tourism. Locate two countries that offer lower-cost surgeries. Write a report and present the report to the class.
Responses
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Case Scenario Three
One of your best friends is on the waiting list for a new liver. According to current research, there is a long waiting list for organ donations. Several states have offered tax incentives to encourage organ donation. You are unsure of how to encourage her to be optimistic.
Activity
You decide to do research on tax incentives in the different states and other options to encourage organ donation.
Responses
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Case Scenario Four
You and your friend were discussing physician-assisted suicide and whether it is an ethical procedure. Your friend does not believe in it, but you feel it is an option depending on the circumstance. You think of your great grandmother who is terminally ill but is in pain and is on life support.
Activity
Using the textbook and the Internet, research both the pros and cons of physician-assisted suicide.
Responses
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
In: Nursing
Student ID Age Gender
Nationality Married Children
Undergrad Major GMAT Score Previous
salary Monthly Expenses School Debt
1 30 Male US
No 0 Marketing 717
48100 1710 26580
2 32 Male US
No 0 Finance 658
62600 1870 0
3 32 Female US
No 0 Engineering
669 55500 1630 30560
4 30 Male India
No 0 Marketing 687
45600 1430 0
5 39 Male US
No 0 Marketing 633
59700 2020 25380
6 33 Male US
No 0 Other non-business
658 70000 2610 0
7 30 Female Europe
No 0 Other business
653 44500 1650 32370
8 35 Female US
No 0 Engineering
784 54000 1930 33240
9 37 Female Other
No 0 Engineering
40000 1640 64330
10 34 Male US
Yes 0 Finance
72100 2670 39950
11 32 Female US
No 0 Other business
784 42200 1130 9490
12 39 Male US
Yes 2 Other non-business
627 69300 2320 70780
13 33 Female US
Yes 1 Marketing 709
46100 2290 69360
14 26 Female US
No 0 Finance 757
53100 1820 12490
15 35 Male US
No 0 Finance 735
76400 1300 8840
16 35 Male US
No 0 Marketing
67500 2230 26330
17 33 Male US
No 1 Other non-business
686 67700 1770 48870
18 30 Male India
No 0 Marketing
46700 1370 22690
19 29 Female India
No 0 Marketing 749
46500 1530 20130
20 36 Female US
Yes 1 Engineering
736 73700 1970 31150
21 36 Male US
Yes 0 Finance 691
63400 1750 0
22 30 Male South
America No 0
Marketing 698 51900
2550 33910
23 39 Male India
No 0 Other non-business
743 63300 1750 29180
24 34 Male US
Yes 1 Engineering
710 63200 2130 53280
25 40 Male US
Yes 0 Other business
662 56200 2020 38560
26 30 Female South
America Yes 0
Finance 43300
1240 26400
27 33 Male US
Yes 1 Engineering
72200 1820 19450
28 32 Female India
Yes 2 Engineering
718 44300 2600 68260
29 34 Male US
No 0 Other non-business
716 59300 1620 0
30 40 Male China
No 0 Finance 711
69100 2270 30460
31 37 Male US
No 0 Engineering
76100 2430 0
32 28 Male US
No 0 Marketing 743
58800 1540 35420
33 28 Male US
No 0 Engineering
740 57200 1300 19180
34 27 Female US
No 0 Finance 695
45000 2100 72220
35 31 Female US
Yes 0 Other business
54200 1950 14640
36 35 Male US
Yes 1 Other business
69500 2390 38330
37 30 Male US
No 0 Engineering
765 77000 1450 16720
38 34 Female China
No 0 Finance 770
47900 1970 39250
39 33 Male US
Yes 1 Engineering
78900 1920 44820
40 34 Male US
No 0 Other business
726 62300 2210 23620
In: Statistics and Probability
Part 1: Analyzing your College’s School Graduation Rate
You recently went through your college website and some information there got your attention. There was a claim that your college has a 77% graduation rate. You thought it would be interesting to check the validity of this statement since these days you are reading about hypothesis testing in your Statistics online course. You contacted the research department and got access to the data for the last graduation and out of 200 students 165 graduated.
To complete Case 1 please answer the following questions:
In: Math