COUNTING TECHNIQUES: PROBABILITY AND STATISTICS
here number of ways to arrange 9 letters =9! =362880
number of ways to arrange letters so that vowels are in order =N(arrange vowels in order and then we have six places for each of 4 consonants between and out of this vowels)=1*6*6*6*6=1296
therefore probability that all 5 vowels are in order =1296/362880 =1/280
COUNTING TECHNIQUES: PROBABILITY AND STATISTICS 3. The word FACETIOUS is one of the only words in...
The word ?ACETIOUS is one of the only words in the English language to contain all five vowels in alphabetical order. If these nine letters are arranged randomly, what is the probability that the resulting “word” also contains the five vowels in order?
The word FACETIOUS is one of the only words in the English language to contain all five vowels in alphabetical order. If these nine letters are arranged randomly, what i:s the probability that the resulting "word" also contains the five vowels in order?
Creat a C Program that Reads words from a file called words, which contains one word per line.Each word has maximum length to M.The number of words in the file is equal to N. Incert each word to Binary Search Tree with node name dictionary.Each node of the tree must contain one word.The left child must contain a word that it is lexicographically smaller while the right child contains a lexicographically bigger one. 1) When you finish reading the file,...
14. A combination lock uses three numbers between 1 and 91 with repetition, and they must be selected in the correct sequence. Which of the five counting rules is used to find that number? How many different"combinations" are possible? Is the name of "combination lock" appropriate? If not, what other name would be better? Which of the five counting rules is used to find that number? A. Permutations rule (when all of the items are different) B.Combinations rule C.Factorial rule...
3. Consider rearranging the letters in the word "FATHER" (a) Find the number of 6 letter "words that can be formed by considering all possible permutations of the letters in the word "FATHER" (b) How many of these words begin with "F" and end with "R"? (c ) What is the probability of forming a six letter word that begins with F" and ends with "R" by randomly rearranging the letters in "FATHER?
15.Many newspapers carry a certain puzzle in which the reader must unscramble letters to form words. How many ways can the letters of EMDANGL be arranged? Identify the correct unscrambling, then determine the probability of getting that result by randomly selecting one arrangement of the given letters. How many ways can the letters of EMDANGL be arranged? Identify the correct unscramble of EMDAGL? What is the probability of coming up with the correct unscrambling through random letter selection? 16. Many...
4.6/5. A presidential candidate plans to begin her campaign by visiting the capitals in 3 of 48 states. What is the probability that she selects the route of three specific capitals? (Type an integer or a simplified fraction.) Is it practical to list all of the different possible routes in order to select the one that is best? 7. How many different ways can the letters of "statistics" be arranged? The number of different ways that the letters of "statistics"...
Question 2: Finding the best Scrabble word with Recursion using java Scrabble is a game in which players construct words from random letters, building on words already played. Each letter has an associated point value and the aim is to collect more points than your opponent. Please see https: //en.wikipedia.org/wiki/Scrabble for an overview if you are unfamiliar with the game. You will write a program that allows a user to enter 7 letters (representing the letter tiles they hold), plus...
5. A presidential candidate plans to begin her campaign by visiting the capitals in 3 of 48 states. What is the probability that she selects the route of three specific capitals? Is it practical to list all of the different possible routes in order to select the one that is best? P(she selects the route of three specific capitals)=____ (Type an integer or a simplified fraction.) Is it practical to list all of the different possible routes in order to...
C program that converts digits into word form. It should accept one command line argument, which is an integer in the range from -2147483648 to 2147483647. (This is the valid range of 32-bit values in C language.) The program will convert the given number into english words and display the answer exactly as in the shown below: This is C language only, Im having trouble getting passed 1 million and need help badly! thank you. zero one hundred and twenty-three...