Questions
For the above data, test the hypothesis that the first reading and the second reading each are greater than 115 mmHg, with an α of 0.05.

male

1st Systolic

1st Diastolic

2nd Systolic

2nd Diastolic

1

132

74

132

82

2

108

70

108

74

3

124

78

134

78

4

116

42

116

48

5

118

76

116

70

6

128

80

128

80

7

132

90

130

92

8

106

64

110

64

female

1

168

46

156

52

2

198

82

192

84

3

110

74

110

76

4

170

94

168

100

5

142

58

140

52

6

168

52

172

54

7

90

32

82

0

For the above data, test the hypothesis that the first reading and the second reading each are greater than 115 mmHg, with an α of 0.05. (Here, combine men and women into one sample: you should have an N of 15) What test would be most appropriate and why? Is the result significant? State your conclusions.

In: Statistics and Probability

C++ Please Define a function named "isAscending" that accepts a string as an input parameter and...

C++ Please

  1. Define a function named "isAscending" that accepts a string as an input parameter and returns "true" if all the characters included in the string are ordered in ascending order of their ASCII codes or the input string is a null string, and returns "false" otherwise. For example, if the string "ABXab" is passed to the function, it returns "true" because the ASCII code of 'B' is greater than 'A', 'X' is greater than 'B', 'a' is greater than 'X', and 'b' is greater than 'a'. However, if any of the strings: "AABC" or "abcA" are passed to the function, the function returns "false", because in the first one equal characters are found and in the second one the character 'A' is following the character 'c' where the ASCII code of 'A' is smaller than the ASCII code of 'c'.
  2. Write a program that repeatedly reads a single character from the keyboard and if the character is a digit, the character is appended to a string that is initially null, otherwise, it won't be appended and the program continues. Once the user enters a '#' character, the input step terminates. After the input step terminates, the program calls the "isAscending" function defined in the previous step to check if the user entered the digits in ascending order or not, and displays one of the following messages accordingly:
    • "All digits were entered in ascending order."
    • "Digits were not entered in ascending order."

Two sample runs of this program are given below:

Sample Run 1:

Enter a sequence of characters and enter '#' to terminate the input:

A

B

&

0

3

j

)

9

x

#

All digits were entered in ascending order.

Sample Run 2:

Enter a sequence of characters and enter '#' to terminate the input:

A

B

&

0

3

j

)

2

x

#

Digits were not entered in ascending order.

Requirements:

  1. Use the "string" class to write this program.
  2. Except for the methods "length", "at", and "push_back" do not use any other method of the "string" class or any other library function in this program. The "push_back" is called on a string object and accepts a character as its input parameter and appends the character to the end of the string.

California College

In: Computer Science

CHCCCS006 Facilitate individual service planning and delivery Question 6: Suggest three ways of checking that the...

CHCCCS006 Facilitate individual service planning and delivery

Question 6: Suggest three ways of checking that the client (and carer) understands options and information that you have explained to them. For each, explain how you would do this and how it works. (80-100 words)

Question 7: Describe two factors that you need to consider in relation to the client's readiness for the development of a care plan. (30 - 40 words)

Question 8: Explain how you would confirm plan details with the client concerned. Why is this effective? (40-50 words)

Question 9: Name four aspects of involvement that members of the support network should have.

Question 10: Identify five strategies that may be used to effectively communicate information for the understanding of relevant stakeholders.

Question 11: Identify three different types of assessment that could be conducted with a client before a meeting.

Question 12: Give an example of how you could do the following in a planning session:
> Respect the client's perspective
> Foster their strengths and capacities
> Promote their participation. (80-100 words)

Question 13: Consider a specific goal which could be set for a person under your care. Outline the ways in which this goal is:
> Specific
> Measurable
> Attainable
> Realistic
> Timely. (80-100 words)

Question 14: Specify three details that should be highlighted in the integrated care plan.

Question 15: How clients? circumstances may affect how risks are applied to them. (20-40 words)

Question 16: Write three appropriate responses to conflict or differences of opinion that may arise the care environment.

Question 17: Provide details of three problems that may be encountered in the care setting and three strategies for dealing with the problems. (40 ? 50 words)

Question 18: Provide the details of four significant others when deciding upon the need for adjustments to the personal care plan.

Question 19: What types of assistance may these significant others in question 18, be able to provide? (30-40 words)

Question 20: Detail three ways of supporting the person?s self-determination when making changes to care plans. (30-40 words)

Question 20: Detail three ways of supporting the person?s self-determination when making changes to care plans. (30-40 words)

Question 22: Provide details of four decisions that should be recorded by care organisation for a client.

Question 23: Provide details of two events which should be reported in accordance with organisational requirements.

Question 24: Why is it important to follow organisational procedures when reporting the events? (30- 40 words)

Question 25: Briefly describe the roles and responsibilities of the following people in the planning process:
> Persons assessor
> Carers and other support workers
> Health professionals
> Other service providers
> Service delivery workers. (100- 150 words)

Question 26: Describe the physical factors relevant to the client that impacts on service delivery. (50- 75 words)

Question 27: Describe the importance of a strength-based approach to service delivery. Consider the following processes while writing your answers:
> Assessment process
> Collaborative approach
> Documentation and reporting requirements (100- 150 words)

Question 28: Describe the key features and modes of service delivery. (100-150 words)

Question 29: Why is it important to perform a risk assessment prior to the implementation of a care plan? Provide an example of an environment, physical, and physiological risk. (80-100 words)

Question 30: Describe the strategies used when responding to client issues and implementing continuous improvement. (70- 100 words)

In: Nursing

I need to write a program and can't seem to make it run properly. Someone can...

I need to write a program and can't seem to make it run properly.

Someone can help with the coding? It's with python

Thanks!

Here is the program:

The rules of Shut the Box are as follows (abbreviated version):
+ You have two 5-sided die
+ You have 5 wooden blocks (labeled 1 through 5)
+ Each turn, you roll the dice and knock down the blocks corresponding to the number on each die + You have to knock down one block every turn. If you can’t, you lose

+ You may knock down two blocks in your turn (e.g. if you roll a 3 and a 5 you can knock them both down)
+ You must knock down every single block to win
+ Rounds continue until either 1) all blocks are knocked down (you win!) or 2) you don't knock any blocks down in a given round (you lose!)

Use those criteria to write a Shut the Box program that displays what turn it is, rolls the dice, knocks down blocks, and displays whether the user won or loss.

Your program should have the following functions:

1. main: Begins program execution: display "Let's play Shut the Box!". Initialize five block variables all to False (representing the blocks standing up at the beginning of the game). Display the current turn (e.g. Turn: 1, Turn: 2, etc.). Call the roll_die function twice to get values for the round, then display the values rolled (e.g. "You rolled a 5 and a 3"). Process the dice values by checking to see if the block associated with the value rolled is currently standing (False) or knocked down (True). If the block is False, flip it to True (you knocked it down). Make sure to keep track of the number of die being used in a given round, because if you don't knock any blocks down in a round you lose!

2. has_won: receives all five blocks as parameter variables (Booleans) and checks whether each block is True or False (False = block is standing, True = block has been knocked down). If a block is False, return False. If all blocks are True, return True (meaning they are all knocked down, thus you won).

3. roll_die: simulates rolling of a virtual die. Returns a single random integer between 1 and 5 (inclusive).

1

Hints:

+ The five variables representing the blocks should be Booleans. Initialize them all to be False (standing up), then flip them to True as they get knocked down.
+ Need to define a number of turns variable that gets incremented (added to) each turn
+ Need to keep track of the number of die not used in that turn

+ If both die are not used (e.g. num_die_not_used == 2) in a given round, the game is over (no blocks were knocked down)

Your program should match the provided sample runs below:

Let's play Shut the Box!
Turn: 1
You rolled a 5 and a 3
You knocked down block 3
You knocked down block 5
Turn: 2

You rolled a 2 and a 4
You knocked down block 2
You knocked down block 4
Turn: 3
You rolled a 5 and a 4
You lost in 3 turns, better luck next time.

Let's play Shut the Box!
Turn: 1
You rolled a 5 and a 5
You knocked down block 5
Turn: 2
You rolled a 1 and a 3
You knocked down block 1
You knocked down block 3
Turn: 3
You rolled a 1 and a 4
You knocked down block 4
Turn: 4
You rolled a 2 and a 2
You knocked down block 2
Congrats, you won in 4 turns!

In: Computer Science

You have completed the Cash Flow statement. Pleased with your work so far, Barry asks you...

  1. You have completed the Cash Flow statement. Pleased with your work so far, Barry asks you to work on an assignment for Steve Fox, relating to a different Regal subsidiary, Phrygian Equipment Capital. Phrygian has two business segments that are reported separately in its financial statements. The segments are “machinery” and “investment and Insurance.” In its management accounts, the company reports four different divisional results. The four divisions are machinery leasing, machinery sales, investments, and insurance. The results of the segments and the divisions follow:

Revenue External $m

Revenue Internal $m

Segment results (profit/loss) $m

Segment assets $m

Segment liabilities $m

Machinery:

Leasing

180

20

32

194

50

Sales

110

15

(4)

24

22

FS Disclosure Amount

290

35

28

218

72

Investment and Insurance:

Investment

120

130

80

192

65

Insurance

60

8

(53)

116

95

FS Disclosure Amount

180

138

27

308

160

Total

470

173

55

526

232

Steve has asked you for a technical analysis on how Phrygian should report its segment information, under IAS 14, as of its year-end of December 31, 2017

In: Accounting

Explain in your own words the meaning of the concept “project” and list the seven (7)...

Explain in your own words the meaning of the concept “project” and list the
seven (7) characteristics of a project. (5)
1.2 Considering the characteristics of a project, as you listed them in question 1.1,
would you regard the 2021 Japan Olympic as a Project? Explain your answe

In: Operations Management

You are required to write an interactive program that prompts the user for seven (7) real...

You are required to write an interactive program that prompts the user for seven (7) real numbers and performs the following tasks:

  1. Reads and stores the numbers into one-dimensional array called A.
  2. Calculates the sum of the numbers.
  3. Find the average of the numbers.
  4. Finds the smallest value of the numbers.
  5. Prints all the results with proper headings.

Program requirements:

-     The program must contain at least five functions using necessary parameters. These functions should read the data, perform the above tasks, and print the results.

-     The program must be fully documented.

-    You must submit a properly labeled output. .

-     Test your program for different values using real numbers.

Please submit with through comments & spacings/indentations from the source code.

In: Computer Science

The following data were used in a regression study. Observation 1 2 3 4 5 6...

The following data were used in a regression study.

Observation 1 2 3 4 5 6 7 8 9

xi

2 3 4 5 7 7 7 8 9

yi

5 5 4 7 4 6 9 5 11

(a) Develop an estimated regression equation for these data. (Round your numerical values to two decimal places.)

ŷ =  

xi

1 2 3 4 5

yi

3 8 5 11 12

The estimated regression equation for these data is  ŷ = 1.50 + 2.10x.

(b) Compute SSE, SST, and SSR using equations SSE = Σ(yiŷi)2, SST = Σ(yiy)2,  and SSR = Σ(ŷiy)2.

SSE =  

SST =  

SSR =  

(c) Compute the coefficient of determination r2.

r2 =

In: Statistics and Probability

Consider a binomial tree problem for an American option. A stock price is currently $50. Over...

Consider a binomial tree problem for an American option.

A stock price is currently $50. Over each of the next two 3-month periods it is expected to go up by 7% or down by 6%. The risk-free interest rate is 5% per annum with continuous compounding. What is the value of a 6-month American put option with a strike price of $51?

In: Finance

Using the normal distribution as a guide, match the percent of cases you would expect to...

Using the normal distribution as a guide, match the percent of cases you would expect to fall below each of the standard deviation scores below.

0 sd

      [ Choose ]            84.13%            99.87%            15.87%            2.28%            50%            0.13%      

1 sd

      [ Choose ]            84.13%            99.87%            15.87%            2.28%            50%            0.13%      

3 sd

      [ Choose ]            84.13%            99.87%            15.87%            2.28%            50%            0.13%      

-1 sd

      [ Choose ]            84.13%            99.87%            15.87%            2.28%            50%            0.13%      

-2 sd

      [ Choose ]            84.13%            99.87%            15.87%            2.28%            50%            0.13%      

-3 sd

      [ Choose ]            84.13%            99.87%            15.87%            2.28%            50%            0.13%      

In: Statistics and Probability