Questions
A total of 150 crimes were reported by the sheriff last year. Of the 150 crimes,...

A total of 150 crimes were reported by the sheriff last year. Of the 150 crimes, 39 were committed by criminals under 20 years of age, 36 were committed by criminals over 40 and 82 were violent crimes. There were 27 violent crimes under the age of 20 and 14 violent criminals over the age of 40.

Type of Crime Under 20 20-40 Over 40 Total
Violent 27 41 14 82
Non Violent 12 34 22 68
Total 39 75 36 150

What is the probability that at least one out of four crimes is nonviolent? Please show work so I can understand how to get the answer

In: Math

How many three​-digit numbers can be formed from the digits 0,1, 2, 3, 4, 5, 6,...

How many three​-digit numbers can be formed from the digits 0,1, 2, 3, 4, 5, 6, 7, and 8 if each digit can be used only​ once? I got this: 448

​How many are greater than 330​? <- I don't understand how to answer this.

I have looked up the answer and could probably figure it out, but please explain where the numbers you are multiplying are coming from. I want to learn how to answer this type of question on my own. I do not understand what numbers to multiply and why. I start with 5 because there are 5 digits for the hundreds place greater than 3, then multiply that by 8 for the remaining digits in the tens place. So I have 5*8, if that is correct then I just need the last number and to understand why that is the last number, and then I have to do the remaining numbers with the 3 in the hundreds place and get the sum.

In: Statistics and Probability

Write a C++ or Java program that reads an input graph data from a user. Then,...

Write a C++ or Java program that reads an input graph data from a user. Then, it should present a path for the travelling salesman problem (TSP). In the assignment, you can assume that the maximum number ofvertices in the input graph is less than or equal to 20.

Input format: This is a sample input from a user.

4

12

0 1 2

0 3 7

0 2 5

1 0 2

1 2 8

1 3 3

2 0 5

2 1 8

2 3 1

3 0 7

3 1 9

3 2 1

0

The first line (= 4 in the example) indicates that there are four vertices in the graph. The next line (= 12 in the example) indicates the number of edges in the graph. The remaining 12 lines are the edge information with the “source vertex”, “destination vertex”, and “cost”. The last line (= 0 in the example) indicates the starting vertex of the travelling salesman problem. This is the graph with the input information provided.

Sample Run 0: Assume that the user typed the following lines

4

12

0 1 2

0 3 7

0 2 5

1 0 2

1 2 8

1 3 3

2 0 5

2 1 8

2 3 1

3 0 7

3 1 9

3 2 1

0

This is the correct output. Your program should present the path and total cost in separate lines.

Path:0->1->3->2->0

Cost:11

Sample Run 1: Assume that the user typed the following lines

5

6

0 2 7

3 1 20

0 4 3

1 0 8

2 4 100

3 0 19

3

This is the correct output.

Path:

Cost:-1

Note that if there is no path for the TSP, your program should present empty path and -1 cost.

Sample Run 2: Assume that the user typed the following lines

5

7

0 2 8

2 1 7

2 4 3

1 4 100

3 0 20

3 2 19

4 3 50

3

This is the correct output of your program.

Path:3->0->2->1->4->3

Cost:185

This is the directed graph of the input data:

[Hint]: To solve this problem, you can use all permutations of the vertices, except the starting vertex. For example, there are three vertices 1, 2, and 3, in the first sample run, except the starting vertex 0. This is all permutations with the three vertices

            1, 2, 3

            1, 3, 2

            2, 1, 3,

            2, 3, 1

            3, 1, 2

            3, 2, 1

In: Computer Science

Write a Java program that reads an input graph data from a user. Then, it should...

Write a Java program that reads an input graph data from a user. Then, it should present a path for the travelling salesman problem (TSP). In the assignment, you can assume that the maximum number of vertices in the input graph is less than or equal to 20.

Input format: This is a sample input from a user.

4

12

0 1 2

0 3 7

0 2 5

1 0 2

1 2 8

1 3 3

2 0 5

2 1 8

2 3 1

3 0 7

3 1 9

3 2 1

0

The first line (= 4 in the example) indicates that there are four vertices in the graph. The next line (= 12 in the example) indicates the number of edges in the graph. The remaining 12 lines are the edge information with the “source vertex”, “destination vertex”, and “cost”. The last line (= 0 in the example) indicates the starting vertex of the travelling salesman problem. This is the graph with the input information provided.

Sample Run 0: Assume that the user typed the following lines

4

12

0 1 2

0 3 7

0 2 5

1 0 2

1 2 8

1 3 3

2 0 5

2 1 8

2 3 1

3 0 7

3 1 9

3 2 1

0

This is the correct output. Your program should present the path and total cost in separate lines.

Path:0->1->3->2->0

Cost:11

Sample Run 1: Assume that the user typed the following lines

5

6

0 2 7

3 1 20

0 4 3

1 0 8

2 4 100

3 0 19

3

This is the correct output.

Path:

Cost:-1

Note that if there is no path for the TSP, your program should present empty path and -1 cost.

Sample Run 2: Assume that the user typed the following lines

5

7

0 2 8

2 1 7

2 4 3

1 4 100

3 0 20

3 2 19

4 3 50

3

This is the correct output of your program.

Path:3->0->2->1->4->3

Cost:185

This is the directed graph of the input data:

[Hint]: To solve this problem, you can use all permutations of the vertices, except the starting vertex. For example, there are three vertices 1, 2, and 3, in the first sample run, except the starting vertex 0. This is all permutations with the three vertices

            1, 2, 3

            1, 3, 2

            2, 1, 3,

            2, 3, 1

            3, 1, 2

            3, 2, 1

In: Computer Science

Test the hypotheses that 1) systolic pressure [and 2) diastolic pressure, for practice] differs between men and women, with an α of 0.05 for both. What test would be most appropriate and why?

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

Test the hypotheses that 1) systolic pressure [and 2) diastolic pressure, for practice] differs between men and women, with an α of 0.05 for both. What test would be most appropriate and why? Are the results significant? State your conclusions.

In: Statistics and Probability

Articulations and Body Movements Fibrous, Cartilaginous, and Synovial Joints 1. Use key responses to identify the...

Articulations and Body Movements
Fibrous, Cartilaginous, and Synovial Joints
1. Use key responses to identify the joint types described below.
Key: a. cartilaginous b. fibrous c. synovial
1. includes shoulder, elbow, and wrist joints
2. includes joints between the vertebral bodies and the pubic symphysis
3. sutures are memorable examples
4. found in the epiphyseal plate
5. found in a gomphosis
6. all are freely movable or diarthrotic

2. Label the diagram of a typical synovial joint using the terms provided in the key and the appropriate leader lines.
Key:
a. articular capsule
b. articular cartilage
c. fibrous layer
d. joint cavity
e. ligament
f. periosteum
g. synovial membrane

3. How does a tendon sheath differ from a bursa
4. Which structure in the synovial joint produces synovial fluid?
5. Match the synovial joint categories in column B with their descriptions in column A. Some terms may be used more than once.

Column A
1. joint between the axis and atlas
2. hip joint
3. intervertebral joints (between articular processes)
4. joint between forearm bones and wrist
5. elbow
6. interphalangeal joints
7. intercarpal joints
8. joint between talus and tibia/fibula
9. joint between skull and vertebral column
10. joint between jaw and skull
11. joints between proximal phalanges and metacarpal bones
12. a multiaxial joint
13. biaxial joints
14. uniaxial joints
Column B
a. ball-and-socket b. condylar
c. hinge
d. pivot
e. plane
f. saddle
Selected Synovial Joints
6. Which joint, the hip or the knee, is more stable?
Name two important factors that contribute to the stability of the hip joint. _______________________ and
________________________________________________________
Name two important factors that contribute to the stability of the knee. ____________________________ and _______________________________
  

7. Label the photograph of a knee joint model using the terms provided in the key and the appropriate leader lines. Key:
a. anterior cruciate ligament
b. fibula
c. fibular collateral ligament
d. lateral condyle of the femur
e. lateral meniscus
f. medial meniscus
g. patella
h. patellar ligament
i. tibia
j. tibial collateral ligament
Femur

In: Anatomy and Physiology

What is the income distribution of super shoppers? A supermarket super shopper is defined as a...

What is the income distribution of super shoppers? A supermarket super shopper is defined as a shopper for whom at least 70% of the items purchased were on sale or purchased with a coupon. In the following table, income units are in thousands of dollars, and each interval goes up to but does not include the given high value. The midpoints are given to the nearest thousand dollars.

Income range 5-15 15-25 25-35 35-45 45-55 55 or more
Midpoint x 10 20 30 40 50 60
Percent of super shoppers 22% 15% 20% 16% 19% 8%

(a)

Using the income midpoints x and the percent of super shoppers, do we have a valid probability distribution? Explain.

Yes. The events are distinct and the probabilities do not sum to 1. Yes. The events are indistinct and the probabilities sum to less than 1.     Yes. The events are distinct and the probabilities sum to 1. No. The events are indistinct and the probabilities sum to more than 1. No. The events are indistinct and the probabilities sum to 1.

(b)

Use a histogram to graph the probability distribution of part (a). (Select the correct graph.)

    

(c)

Compute the expected income μ of a super shopper (in thousands of dollars). (Enter a number. Round your answer to two decimal places.)
μ = thousands of dollars

(d)

Compute the standard deviation σ for the income of super shoppers (in thousands of dollars). (Enter a number. Round your answer to two decimal places.)
σ = thousands of dollars

In: Statistics and Probability

develop simple linear regression models for predicting sales as a function of the number of each...

develop simple linear regression models for predicting sales as a function of the number of each type of ad. Compare these results to a multiple linear regression model using both independent variables. State each model and explain R- square, significance F and P-values.

Concert Sales
Thousands of Thousands of
Sales ($1000) Radio&TV ads Newspaper ads
$1,119.00 0 40
$973.00 0 40
$875.00 25 25
$625.00 25 25
$910.00 30 30
$971.00 30 30
$931.00 35 35
$1,177.00 35 35
$882.00 40 25
$982.00 40 25
$1,628.00 45 45
$1,577.00 45 45
$1,044.00 50 50
$914.00 50 50
$1,329.00 55 20
$1,330.00 55 20
$1,405.00 60 30
$1,436.00 60 30
$1,521.00 65 35
$1,741.00 65 35
$1,866.00 70 40
$1,717.00 70 40

In: Statistics and Probability

Create a Python program that: Reads the content of a file (Vehlist.txt) The file contains matching...

Create a Python program that:

Reads the content of a file (Vehlist.txt)
The file contains matching pairs of vehicle models and their respective makes
Separate out the individual make and model on each line of the file
Add the vehicle make to one list, and the vehicle model to another list; such that they are in the same relative position in each list
Prompt the user to enter a vehicle model
Search the list containing the vehicle models for a match
If a match is found, display the vehicle make by accessing the vehicle make list entry in the same relative position the match was found
If no match is found, display a message saying so to the user
Allow the user to enter name for the file
The program should:

Use variables with meaningful names
Display easily understood prompts when collecting user input
Have appropriate comments indicating what each part of the program is doing
Have a comment area at the beginning of the program identifying the author of the program and the class it was created for
Save the program as a Python module, and submit the program through this assignment

In: Computer Science

Johnson Industries finances its projects with 40 percent debt, 10 percent preferred stock, and 50 percent...

Johnson Industries finances its projects with 40 percent debt, 10 percent preferred stock, and 50 percent common stock.

  • The company can issue bonds at a yield to maturity of 10% percent.
  • The cost of preferred stock is 12 percent.
  • The company's common stock currently sells for $40 a share.
  • The company's dividend is currently $1.50 a share (D0 = $1.50), and is expected to grow at a constant rate of 8 percent per year.
  • Assume that the flotation cost on debt and preferred stock is zero, and no new stock will be issued.
  • The company’s tax rate is 25 percent.

What is the company’s weighted average cost of capital (WACC)? Show work.

In: Finance