5. QUESTION:
You consult Joe the bookie as to the form in the 2.30 at Ayr. He tells you that, of 16 runners, the favourite has probability 0.3 of winning, two other horses each have probability 0.20 of winning, and the remainder each have probability 0.05 of winning, excepting Desert Pansy, which has a worse than no chance of winning. What do you think of Joe’s advice?
4. QUESTION:
M&M sweets are of varying colours and the different colours occur in different proportions. The table below gives the probability that a randomly chosen M&M has each colour, but the value for tan candies is missing.
Colour Brown Red Yellow Green Orange Tan
Probability 0.3 0.2 0.2 0.1 0.1 ?
(a) What value must the missing probability be?
(b) You draw an M&M at random from a packet. What is the probability of each of the followingevents?
i. You get a brown one or a red one.
ii. You don’t get a yellow one.
iii. You don’t get either an orange one or a tan one.
iv. You get one that is brown or red or yellow or green or orange or tan.
How learners thinks about the triangles at level 1,2 and 3 of van hiele levels of geometric thought
3. QUESTION:
A bag contains fifteen balls distinguishable only by their colours; ten are blue and five are red. I reach into the bag with both hands and pull out two balls (one with each hand) and record their colours.
(a) What is the random phenomenon?
(b) What is the sample space?
(c) Express the event that the ball in my left hand is red as a subset of the sample space.
2. QUESTION:
A fair coin is tossed, and a fair die is thrown. Write down sample spaces for
(a) the toss of the coin;
(b) the throw of the die;
(c) the combination of these experiments.
Let A be the event that a head is tossed, and B be the event that an odd number is thrown. Directly from the sample space, calculate P(A ∩ B) and P(A ∪ B).
1. QUESTION: Describe the sample space and all 16 events for a trial in which two coins are thrown and each shows either a head or a tail.
Write a function called maximum() that accepts three integer
numbers as parameters. The maximum() that returns maximum value
of three arguments that are passed to the function when it is
called. Assume that all three arguments will be of the same data
type.
You are a teacher at a local school. You have a student in your class, named Sam. Sam is 7 years old. Sam is a shy girl and has one special friend who is also a student in your class. Sam arrives at school, in a cheerful mood and participates in individual class activities with enthusiasm. Lately, you notice that Sam seems quite unsettled and agitated during groupwork activities in class
Create a method named check_angles. The sum of a triangle's three angles should return True if the sum is equal to 180, and False otherwise. The method should print whether the angles belong to a triangle or not.
11.1 Write methods to verify if the triangle is an acute triangle or obtuse triangle.
11.2 Create an instance of the triangle class and call all the defined methods.
11.3 Create three child classes of triangle class - isosceles_triangle, right_triangle and equilateral_triangle.
11.4 Define methods which check for their properties.
Create an empty dictionary called Car_0 . Then fill the dictionary with Keys : color , speed , X_position and Y_position.
car_0 = {'x_position': 10, 'y_position': 72, 'speed': 'medium'} .
a) If the speed is slow the coordinates of the X_pos get incremented by 2.
b) If the speed is Medium the coordinates of the X_pos gets incremented by 9
c) Now if the speed is Fast the coordinates of the X_pos gets incremented by 22.
Print the modified dictionary.