4. If 8 rooks (castles) are randomly placed on a chessboard, compute the probability that none...
4. If 8 rooks (castles) are randomly placed on a chessboard, compute the probability that none of the rooks can capture any of the others. That is, compute the probability that no row or file contains more than one rook. 5. A pair of dice is rolled until a sum of either 5 or 7 appears. Find the probability that a 5 occurs first. (Hint: Let F denote the event that a 5 occurs on the nth roll and no...
2. If 8 rooks (castles) are randomly placed on a chessboard, compute the proba 3. If 20 people, including Alice and Bob, are arranged in a circle, what is the probability that Alice and Bob are NOT next to each other?
Eight rooks are placed randomly on a chess board. What is the probability that none of the rooks can capture any of the other rooks? Translation for those who are not familiar with chess: pick 8 unit squares at random from an 8 × 8 square grid. What is the probability that no two chosen squares share a row or a column? Hint. You can think of placing the rooks both with or without order, both approaches work.
4. Eight rooks are placed randomly on a chess board. What is the probability that none of the rooks can capture any of the other rooks? (In non-chess terms: Randomly pick 8 unit squares from an 8 x 8 square grid. What is the probability that no two squares share a row or a column?) Hint: How many choices do you have to place rooks in the first row? After you have made your choice, how many choices do you...
Question 2: Part 1: Show that it is not possible to choose a uniform positive integer at random. (In other words, we cannot define a probability measure on the positive integers that can be considered uniform). Hint: What would be the probability of choosing a particular number? Part 2: Eight rooks are placed randomly on a chess board. What is the probability that none of the rooks can capture any of the other rooks? Translation for those unfamiliar with chess:...
please explain/ comment
3. Eight Queens Write a program that places eight queens on a chessboard (8 x 8 board) such that no queen is "attacking" another. Queens in chess can move vertically, horizontally, or diagonally. How you solve this problem is entirely up to you. You may choose to write a recursive program or an iterative (i.e., non-recursive) program. You will not be penalized/rewarded for choosing one method or another. Do what is easiest for you. 3.1. Output Below...
Main objective: Solve the n queens problems. You have to place n queens on an n × n chessboard such that no two attack each other. Important: the chessboard should be indexed starting from 1, in standard (x, y) coordinates. Thus, (4, 3) refers to the square in the 4th column and 3rd row. We have a slight twist in this assignment. We will take as input the position of one queen, and have to generate a solution with a...
Problem #1 (8 pts) Suppose a textbook with 4 the book. What is the probability that a particular page has 50 pages has 200 misprints which is distributed randomly throughout 3 or more misprints? Problem #2 (8 pts): A box contains 8 large, 5 medium, and 3 small bolts and another box contains 6 nuts which fits the large bolts, 4 nuts which fits the medium bolts and 2 nuts which fits the small bolts. If one bolt and one...
Please help answer my probability questions! 1. A 4-volume numbered set of books is placed randomly on a shelf. What is the probability that the books will be numbered in the correct order from left to right? 2. Pizza House offers 5 different salads, 4 different kinds of pizza, and 5 different desserts. How many different three-course meals can be ordered? 3. If the probability of a child being a girl is 1/2 and a family plans to have 5...
The probability that a student will move away from home after transferring to a 4-year institution is 35%. If 4 students are randomly selected, compute the following probabilities 3) All four students move away from home. None of the four students move away from home. At least one of the students moves away from home. a. b. c. There are two identical bottles. One bottle contains 4 green balls and 2 red balls. The other contains 6 green ball and...