Considering the definition of probability and its properties:
the probability that the student is both a freshman and a mathematics major is 3/17. given that the student selected is a freshman, what is the probability that he is also a mathematics major is 3/10.Definition of ProbabitityProbability is the possibility that a phenomenon or an event will happen, given certain circumstances. It is expressed as a percentage.
The probability of any event A is defined as the ratio between the number of favorable cases (number of cases in which event A may or may not occur) and the total number of possible cases. This is called Laplace's Law.
P(A)= number of favorable cases÷ number of total cases
Union of eventsThe union of events, AUB, is the event formed by all the elements of A and B. That is, the event AUB is verified when one of the two, A or B, or both occurs. AUB is read as "A or B".
The probability of the union of two compatible events is calculated as the sum of their probabilities subtracting the probability of their intersection:
P(A∪B)= P(A) + P(B) -P(A∩B)
The intersection of events, A∩B, is the event formed by all the elements that are, at the same time, from A and B. That is, the event A ∩ B is verified when A and B occur simultaneously.
Complementary eventA complementary event, also called an opposite event, is made up of the inverse of the results of another event.
The probability of occurrence of the complementary event A' will be 1 minus the probability of occurrence of A:
P(A´)= 1- P(A)
Conditional probabilityThe conditional probability P(A|B) is the probability that an event A occurs, knowing that another event B also occurs. That is, it is the probability that event A occurs if event B has occurred. It is defined as:
P(A|B) = P(A∩B)÷ P(B)
Probability that the student is both a freshman and a mathematics majorIn first place, let's define the following events:
F: The event that the student is a freshman.M: The event that the student is a mathematics major.You know:
A certain college class contains 51 students. 23 students are freshmen. → P(F)= 23÷51 → P(F)= 23/5130 students are mathematics majors. → P(M)= 30÷51 → P(M)= 30/517 students are neither a freshman or a mathematics mayor → P [(F∪M)']= 7÷51= 7/51The probability that a student is a freshman or a mathematics mayor is:
P [(F∪M)']= 1- P(F∪M)
7/51= 1 - P(F∪M)
7/51 - 1= -P(F∪M)
-44/51= -P(F∪M)
44/51= P(F∪M)
So, the probability that the student is both a freshman and a mathematics major is calculated as:
P(F∪M)= P(F) + P(M) -P(F∩M)
44/51= 23/51 + 30/51 - P(F∩M)
44/51- 23/51 - 30/51= - P(F∩M)
-3/17= - P(F∩M)
3/17= P(F∩M)
Finally, the probability that the student is both a freshman and a mathematics major is 3/17.
Probability that a student is a mathematics major being a freshmanThe probability that a student is a mathematics major, knowing that he is also a freshman, is calculated as:
P(M|F) = P(M∩F)÷ P(M)
So:
P(M|F) = 3/17÷ 30/51
P(M|F) = 3/10
Finally, given that the student selected is a freshman, what is the probability that he is also a mathematics major is 3/10.
Learn more about probability with this examples:
brainly.com/question/10183545
brainly.com/question/25839839
brainly.com/question/26038361
brainly.com/question/3283947
#SPJ1
If the price of gas was on average $3.20 per gallon, and this was $1.43 cheaper than a year before, what is the percent of decrease in price? (Round to the nearest percent.)
Based on the current price of gas per gallon, and the fact that it was cheaper the year before, the percent decrease in price is 31%
How to find the percentage decrease?First, find the price of gas last year:
=Current price of gas + Decrease in price
= 3.20 + 1.43
= $4.63
The percent of decrease in price can be found by the formula:
= Change in gas price / Price of gas last year x 100%
= 1.43 / 4.63 x 100%
= 0.30885529157667386609071274298056 x 100%
= 31%
Find out more on percentage decrease in price at https://brainly.com/question/27967859
#SPJ1
Suppose that a code (similar to a postal code) is of the form LDL DLD, where 'L' is an uppercase letter from A to N (i.e., 14 possible letters) and 'D' is a digit from 0 to 4. Suppose that such a code is randomly generated.
Find the probability that the code either starts with an 'A' or ends with an even digit (note that 0 is even).
Using the Fundamental Counting Theorem, there is a 0.7143 = 71.43% probability that the code either starts with an 'A' or ends with an even digit.
What is the Fundamental Counting Theorem?It is a theorem that states that if there are n things, each with [tex]n_1, n_2, \cdots, n_n[/tex] ways to be done, each thing independent of the other, the number of ways they can be done is:
[tex]N = n_1 \times n_2 \times \cdots \times n_n[/tex]
In this problem, we have that the code has:
3 letters, each with 14 possible outcomes.3 digits, each with 5 possible outcomes.Hence the number of codes is:
N = 14 x 5 x 14 x 5 x 14 x 5 = 343,000.
The number of codes starting with an A is:
Na = 5 x 14 x 5 x 14 x 5 = 24,500.
The number of codes ending with an even digit(0, 2 or 4) is:
Ne = 14 x 5 x 14 x 5 x 14 x 3 = 205,800.
The number of codes starting with an A and ending with an even digit is:
Nae = 5 x 14 x 5 x 14 x 3 = 14,700.
The number of desired outcomes is:
24500 + 205800 + 14700 = 245,000.
Hence the probability is:
245,000/343,000 = 0.7143.
0.7143 = 71.43% probability that the code either starts with an 'A' or ends with an even digit.
More can be learned about the Fundamental Counting Theorem at https://brainly.com/question/24314866
#SPJ1
Multiply the numbers.
Answer:
[tex] \: \: \: \: \: { \rm{2 \: \: \: 3 \: \: \: 4}} \\ { \underline{ \times \: \: 0. \: \: 3 \: \: 5}} \\ { \rm{ 1 \: \: 1 \: \: 7\: \: 0}} \\ { \underline{ + 7\: \: 0\: \: 2 \: \: 0 }} \\ { \underline{ \: \boxed{ 8\: \: 1 \: .\: \: 9 \: \: 0}}}[/tex]
Answer: 81.9
Find the domain PLEASE HELP
The domain of this function is all the real numbers except - 7 / 3 and 23 / 3.
What is the domain of a function?
In accordance with function theory, the domain of a function is a set of x-values such that y-values exist. Herein we find that the given function is a rational function whose denominator includes an absolute value function. The numerator is a linear equation.
Therefore, the domain of the function is all real numbers except those x-values such that denominator is equal to zero. We need to solve the following expression in two cases:
|3 · x - 15| = 8
For x ≥ 5:
3 · x - 15 = 8
3 · x = 23
x = 23 / 3
For x < 5:
- 3 · x + 15 = 8
- 3 · x = - 7
x = - 7 / 3
Then, the domain of this function is all the real numbers except - 7 / 3 and 23 / 3.
To learn more on rational functions: https://brainly.com/question/27914791
#SPJ1
The difference of four times a number and seven is ten more than the number
The number is 5.67
Let the number be 'x'
The difference of four times a number and seven = 4x - 7
Ten more than the number = 10 + x
According to the condition given in the question,
The difference between four times a number and seven is equal to ten more than the number.
4x - 7 = 10 + x
4x - x = 10 + 7
3x = 17
x = 17/3 = 5.67
We can verify the answer,
Consider the LHS,
=> 4x - 7 = 4(5.67) - 7 = 22.68 - 7 = 15.68
Consider the RHS,
=> 10 + x = 5.67 + 10 = 15.67
Both LHS and RHS are equal.
Therefore the number that satisfies the given condition is 5.67
For more questions like this, check out,
https://brainly.com/question/6327062
#SPJ9
Only if you are sure, please :')
Answer:
Option D) 6.8 × 10⁻²
Answer:
D
Step-by-step explanation:
Find the unit rate.
1¹/2 =
4
[?]
1
Answer:
[tex]\frac{12}{4} = \frac{3}{1}[/tex]
Step-by-step explanation:
[tex]\frac{12\div4}{4\div4}=\frac{3}{1}[/tex]
Hope this helps!
Answer:
12 = 3
4 1
Step-by-step explanation:
hope the helps
The following trial balance of Reese Corp. at December 31, 2014 has been properly adjusted except for the income tax expense adjustment. Reese Corp. Trial Balance December 31, 2014 Dr. Cr. Cash $ 775,000 Accounts receivable (net) 2,695,000 Inventory 2,085,000 Property, plant, and equipment (net) 7,566,000 Accounts payable and accrued liabilities $ 1,701,000 Income taxes payable 654,000 Deferred income tax liability 85,000 Common stock 2,350,000 Additional paid-in capital 3,680,000 Retained earnings, 1/1/14 3,450,000 Net sales and other revenues 13,560,000 Costs and expenses 11,180,000 Income tax expenses 1,179,000 $25,480,000 $25,480,000 07. The current assets total is: A. $6,080,000 C. $5,405,000 B. $5,555,000 D. $4,955,000
Based on the balances in Reese Corp's trial balance, the current assets total can be found to be B. $5,555,000
What is the total current assets?The total of the current assets can be found by the formula:
= Inventory + Accounts Receivable + Cash
Solving then gives:
= 775,000 + 2,695,000 + 2,085,000
= $5,555,000
In conclusion, the current assets for Reese Corp is $5,555,000 .
Find out more on current assets at https://brainly.com/question/13188114
#SPJ1
please help
please hurry
Answer:
-22 I arrived as fast as I could
The height of a ball thrown in the air can be described by a parabola. After 3
seconds, the ball reaches the maximum height of 42 feet. If the ball was originally
thrown from a height of 6 feet, find an equation for the height, h(t), of the ball after t
seconds.
Answer:In his equation height is given by h(t) and t represents time. The shape of this equation is that of a downward facing parabola because the coefficient of the first term is negative. Therefore, the maximum height is found by determining the vertex of the parabola which is given by b/2a or 50/(16*2). Thus after, 1.5625 seconds the ball reaches it maximum height of 44 feet (plug 1.5625 into formula.)
Notice that the formula has a constant of 5 in it meaning that the ball was throw up at a 5 foot starting position above the ground. Thus, for the ball to hit the ground h(t) = -5. So, what is the value of t that gives that value? Here we just use the quadratic formula and find that t = 3.31 seconds. That makes sense doesn't it? 2*1.5625 would get the ball back to the starting position ( 3.125 sec) and the ball needs another .185 sec to fall the last 5 feet. What speed is that in MPH? That would be 5/.185*(3600/5280) = 18.4 MPH. That is a lot slower than a 95 MPH fast ball.
Step-by-step explanation:
please help with geometry problem
The value of the x in the given geometry figure is 108° .
When 2 lines ran into one another, then the other angles, shaped thanks to intersection are referred to as vertical angles or vertically opposite angles. A try of vertically opposite angles are invariably capable one another. Also, a angle and its adjacent angle are supplementary angles, i.e., they add up to one hundred eighty degrees.When 2 lines ran into, four angles are shaped. There are 2 pairs of distant angles. These pairs are referred to as vertical angles.Vertical angles are a try of non-adjacent angles shaped by the intersection of 2 straight lines. In straightforward words, vertical angles are set across from each other within the corners of the "X" shaped by 2 straight lines. they're conjointly referred to as vertically opposite angles as they're settled opposite to every alternative.The labelled diagram of the figure is given below.
From the figure , we can see that ∠OEA = ∠BOF as they are vertically opposite angles .
Hence ∠BOF = x
∠OFT and ∠BOF are linear pair , so on adding them , we will get sum 180°
∠OFT + ∠BOF = 180°
72° + x = 180°
x = 108°
Learn more about vertical opposite angle here :
https://brainly.com/question/68367
#SPJ9
Answer:
x° = 22°
Step-by-step explanation:
You want the measure of the angle marked x° in the figure with two parallel lines and a "bent" transversal.
Remote interior anglesExtending the upward-sloping line in the figure as shown in the attachment results in a triangle against the top horizontal line.
The angle on the right side of that triangle corresponds to the one marked 50°, so has the same measure. It is one of two "remote interior angles" whose sum is the measure of the exterior angle marked 72°. The other "remote interior angle" making up that sum is the vertical angle to the one marked x°.
So, we have ...
x° +50° = 72°
x° = 22° . . . . . . . . subtract 50°
__
Additional comment
You can do a "sanity check" on this answer by considering some extreme cases. If the 72° angle is reduced to 50°, the top leg of the "72°" angle would be horizontal. That would effectively reduce x to 0. Similarly, if the 72° angle were made to be 180°, then the value of x would be supplementary to the 50° angle. In other words, x is the difference between the one marked 72° and 50°, or 22°.
-29/36 - 3/4 equals to what?
Louisa made a purchase at her local convenience store for $6.65. She wanted to use up her change so she used
quarters and dimes to pay the clerk. If she used a total of 29 coins, how many fewer dimes than quarters did she
use?
Louisa used Number
fewer dimes.
Answer:
25 quarters and 4 dimes. Louisa used 21 more quarters than she did dimes.
Step-by-step explanation:
q=number of quarters
d=number of dimes
6.65=.25q+.10d 6.65 (the total) is equivalent to the amount of quarters times .25 (the value of a quarter) plus the amount of dimes times .10 (the value of a dime)
Now divide 6.65 by .25.
26 quarters can be used.
26 times .25 = 6.50
26 quarters is $6.50
29-26=3
3 times .10 = .30
.30+6.50=6.80
This is too much. Let's try taking off one quarter.
Now we have 25 quarters. .25 times 25 = 6.25
29-25=4 (This means there will be 4 dimes if she used 25 quarters, but let's see)
4 times .10 = .40
.40 + 6.25=6.65
6.65 is the total amount she had to pay, so we did it. Solving this showed us that she used 25 quarters and 4 dimes. This equals $6.65, the amount she paid, uses only quarters and dimes, and uses a total of 29 coins.
I hope this helps you! Please mark as Brainliest answer! I worked really hard to type all of this out for you.
Simplify the expression
(-3m to the 2) x (-5m to the 7)
Explain your process and justify each step by naming the appropriate property.
Answer:
15m⁹
Step-by-step explanation:
-3m² × -5m⁷ multiply bases (-3×-5=15). when multiplying bases you add exponents (2+7=9)
= 15m⁹
When the width of the map on his phone represents an actual distance of 400 feet, the length of Peninsula Park on his phone is 1.2 inches. Joshua changes the zoom on the map so that the width of the map on his phone represents an actual distance of 300 feet instead. What is the length of Peninsula park on his phone, in inches, on the new map?
Answer:
.9 inches
Step-by-step explanation:
Set up and solve this proportion:
[tex] \frac{1.2}{400} = \frac{x}{300} [/tex]
[tex]400x = 360[/tex]
[tex]x = .9[/tex]
Four brothers have ages that are consecutive even integers. From youngest to oldest, their names are Matt, Pat, Dave, and Dan. If Dan's age is 36 years less than twice Pat's age, then what are the ages of all four brothers?
Answer:
Matt is 38, Pat is 40, Dave is 42 and Dan is 44.
Step-by-step explanation:
Let Matt's age be x.
Then Pat is x + 2, Dave is x + 4 and Dan is x + 6.
Dan's age is 36 years less than twice Pat's age:
x + 6 = 2(x + 2) - 36Solve it for x:
x + 6 = 2x + 4 - 36x + 6 = 2x - 322x - x= 6 + 32x = 38So Matt is 38, Pat is 40, Dave is 42 and Dan is 44.
Let f(x) = [tex]3x\sqrt{2-4x}[/tex].
Find the equation of line tangent to the graph of f at x = -2.
Tangent line: y = ?
the linear equation tangent at x = -2 is:
y = 123.33*x + 226.74
How to find the equation of the tangent line?To get the slope of the line we need to evaluate the first derivative in x = -2, we get:
f'(x) = 3√(2 - 4x) + (-12/2)*3x*(2 - 4x)^(-1/2)
Evaluating in x = -2 we get:
f'(-2) = 3√(2 - 4*-2) + (-12/2)*3*-2*(2 - 4*-2)^(-1/2) = 123.33
Then the line is something like:
y = 123.33*x + b
And the line must pass through:
f(-2) = 3*(-2)*√(2 - 4*(-2)) = -18.97
So the line must pass through the point (-2, -18.97)
Replacing that in the linear equation:
-18.97 = 123.33*2 + b
-19.92 + 123.33*2 = b = 226.74
Then we conclude that the linear equation tangent at x = -2 is:
y = 123.33*x + 226.74
If you want to learn more about linear equations:
https://brainly.com/question/1884491
#SPJ1
Input
0
1
6
Output = Input x Itself + (-5) Output
95
59
76
We are given a table for input and output values and the relation between them.
Consider the table,
Input Output = Input × itself + (-5) Output
0
1
6
95
59
76
For Input = 0 :
Output = Input × itself + (-5)
Output = 0 × 0 - 5
Output = -5
Now, for Input = 1,
Output = Input x Itself + (-5)
Output = (1) × 1 + (-5)
Output = 1 - 5
Output = - 4
For Input = 6,
Output = Input x Itself + (-5)
Output = (6) × 6 + (-5)
Output = 36 - 5
Output = 31
For Output = 95,
Output = Input x Itself + (-5)
95 = (Input)²+ (-5)
95 + 5 = (Input)²
(Input)² = 100
Input = √100
Input = 10
For Output = 59,
Output = Input x Itself + (-5)
59 = (Input)²+ (-5)
59 + 5 = (Input)²
(Input)² = 64
Input = √64
Input = 8
For Output = 76,
Output = Input x Itself + (-5)
76 = (Input)²+ (-5)
76 + 5 = (Input)²
(Input)² = 81
Input = √81
Input = 9
Therefore the complete table will be:
Input Output = Input × itself + (-5) Output
0 Output = 0 × 0 + (-5) -5
1 Output = 1 × 1 + (-5) -4
6 Output = 6 × 6 + (-5) 31
10 95 = Input × itself + (-5) 95
8 59 = Input x Itself + (-5) 59
9 76 = Input x Itself + (-5) 76
Learn more about input and output here:
https://brainly.com/question/13876209
#SPJ9
Aubrey has 64 m of fencingEli has 44 m of fencing to build a four-sided fence around a rectangular plot of land. The area of the land is 120 square meters. Solve for the dimensions (length and width) of the field. to build a four-sided fence around a rectangular plot of land. The area of the land is 255 square meters. Solve for the dimensions (length and width) of the field.
The dimensions of the rectangular field with area 120 square meters is 10 meters by 12 meters.
The measurement that expresses the size of a region on a plane or curved surface is called area. Surface area refers to the area of an open surface or the boundary of a three-dimensional object, whereas the area of a plane region or plane area refers to the area of a form or planar lamina.
Given perimeter of the rectangular plot is 44 meters.
let the length is x , and width = y
Therefore perimeter = 2 (x + y)
or, 2 (x + y) = 44
or, x + y = 22
or, y = 22 - x
Now the area of the field is given as 120 square meters.
Area of the fields in terms of x is given by:
x ( 22 - x ) = 22 x - x²
Therefore 22 x - x² = 120
or, x² -22x +120 = 0
or, x² - 10x - 12x + 120 = 0
or, x (x -10) -12(x-10)=0
or, (x-10)(x-12) = 0
Now either the value of x is 10m or the value of x is 12m
Therefore the dimensions of the rectangular field is 10 meters by 12 meters.
To learn more about area visit:
https://brainly.com/question/16309520
#SPJ1
find the measures of the labeled angles :)
3x =
second answer =
simplified =
please help im struggling !! this is my last question :) ill mark brainliest
Answer: 54
Step-by-step explanation:
3x=72-x ==> 3x and 72-x are both congruent angles, so they're equal
3x+x=72-x+x
4x=72
x=18
3x=
3(18)=54 degrees
BD bisects AC at point E. if AE is 2x²- 8 and AC is 5x^2-25
find the length of EC
The length of EC will be 154 units.
We have the data that:
BD is the bisector of AC at point E.
This means that AE = EC
Also, AE + EC = AC
AE + AE = AC
2 AE = AC
Now,
AE = 2x² - 8 and AC is 5x² - 25
Substituting the values, we get that:
2 (2x² - 8) = 5x² - 25
4x² - 16 = 5x² - 25
5 x² - 4 x² = 25 - 16
x² = 9
x = 3 ( as length cannot be negative)
AE = EC = 2x² - 8
EC = 2 (9)² - 8
EC = 162 - 8
EC = 154 units.
Therefore, we get that, the length of EC will be 154 units.
Learn more about bisector here:
https://brainly.com/question/11006922
#SPJ9
Help me am I correct?
Answer: Yes
Step-by-step explanation:
All you had/have to do is 19-11 and get 8
Answer:
Yes, you're correct.
Step-by-step explanation:
Because since the bases are the same you can set the exponents equal. Then move the constant to the right hand side and it changes the sign. Then you calculate the difference. Finally you change the signs on both sides of the equation. x = 8
Maria's monthly premium for her car insurance is $ 115.99 $ 115.99 , and her monthly rent is $899.59 $ 899.59 . If the premium and rent are automatically deducted from Maria's bank account every month, how much will be deducted from her account in a year? Enter your answer in the box. Enter your answer using “.” for a decimal point.
Answer: 12,186.96
Step-by-step explanation:
describe a real world situation where you can apply finding the unit rate
The unit rate problem is discussed above and the unit rate of speed according to problem is 50 kilometers per hour.
What is the unit rate method ?
The unit rate method is a method for solving a problem by the first value of a single unit and then finding the value by multiplying the single value.
The real world situation can be as follows ;
A police officer who believes you were speeding stops you. You say that it took you exactly seven hours to travel 350 kilometers across the state. To determine if you were over speeding, the policeman must perform the necessary calculations. He requires to find out the unit rate.
Let's solve it to find out that at what unit rate of speed you were travelling.
We know that unit rate meant we need to find out the distance we have travelled in 1 hour.
So,
Unit speed = 350 / 7 km per hour
or
Unit speed = 50 kilometers per hour
Police man will check with the limit of speed and if he find that you were not over speeding , then he would allow you to go further.
Therefore , the unit rate problem is discussed above and the unit rate of speed according to problem is 50 kilometers per hour.
Learn more about unit rate here ;
https://brainly.com/question/24587372
#SPJ1
A triangle has a perimeter of 13. If it has
sides of x/2,( x – 5), and (x - 2) lengths,
then:
a) find the value of x
b)find the length of the longest side
[tex]\stackrel{\textit{\LARGE sides}}{\cfrac{x}{2}+(x-5)+(x-2)~}~ = ~~13\implies \cfrac{x}{2}+2x-7=13 \\\\\\ \stackrel{\textit{multiplying both sides by }\stackrel{LCD}{2}}{2\left( \cfrac{x}{2}+2x-7 \right)=2(13)}\implies x+4x-14=26\implies 5x-14=26 \\\\\\ 5x=40\implies x=\cfrac{40}{5}\implies \boxed{x=8} \\\\[-0.35em] ~\dotfill\\\\ \cfrac{(8)}{2}\implies 4\hspace{5em}(8)-5\implies 3\hspace{5em}\underset{Longest}{(8)-2\implies 6}[/tex]
I. Resuelve el siguiente sistema por el método de eliminación
(7x - 3y = 27
5x + y = 35
[tex]5x+y=35 \implies 15x+3y=105 \\ \\ \implies (15x+3y)+(7x-3y)=105+27 \\ \\ 22x=132 \\ \\ \boxed{x=6} \implies 7(6)-3y=27 \\ \\ -3y=-15 \\ \\ \boxed{y=5}[/tex]
−13,9,9,−13,5,−13,9
Calculate the value of the sample standard deviation. Round your answer to one decimal place.
Step-by-step explanation:
first we need the mean value. this is the sum of all data points divided by the number of data points :
(3×9 + 5 - 3×13)/7 = -7/7 = -1
next, for the standard deviation, we need to sum the squares of the differences of the data points to the mean value, divide that by the number of data points again, and then pull the square root :
(3(-13 - -1)² + 3(9 - -1)² + (5 - -1)²)/7 =
= (3×196 + 3×100 + 36)/7 = (588 + 300 + 36)/7 =
= 924/7 = 132
the standard deviation is now the square root of 132 :
sqrt(132) = 11.48912529... ≈ 11.5
so, yes, as we can see, the numbers vary/deviate rather strongly from the mean value.
Rosa has 3 3/5 pounds of dough. She uses 3/4 of a pound for one large roll. How many large rolls could be made from rosa's dough
The number of large rolls that could be made from Rosa's dough is 4 numbers.
What is an equation?An equation is an expression that shows the relationship between two or more numbers and variables.
Let x represent the number of large rolls that can be made from Rosa's dough, hence:
(3/4)x = 3 3/5
(3/4)x = 18/5
x = 4.8
The number of large rolls that could be made from Rosa's dough is 4 numbers.
The inequality that shows the number of shirts that Lisa buys is given as 15x + 35 ≤ 137
Find out more on equation at: https://brainly.com/question/13763238
#SPJ1
True or False: If x > y, then |x| < |y|
Answer:
False
Step-by-step explanation:
This applies perfectly when x and y are negative.
What if both x and y are positive??
x=4, y=3.
4>3 which is true
but |4|<|3| = 4<3 ==> not true.
Hence, the answer is false
Use all the non-zero digits (below), but only once each, to make any set of prime numbers:
1 2 3 4 5 6 7 8 9
What is the sum of this set of prime numbers?
Can you get a smaller sum with a different set of primes? (What is the smallest possible sum?)
Answer:
Hello,
Answer 207
Step-by-step explanation:
[5, 29, 47, 61, 83, 225]
[5, 29, 41, 67, 83, 225]
[5, 23, 47, 61, 89, 225]
[5, 23, 41, 67, 89, 225]
[2, 5, 7, 43, 61, 89, 207]
[2, 3, 5, 47, 61, 89, 207]
[2, 3, 5, 41, 67, 89, 207]
import sys
#-------------------------------------------------------
def see(txt,arr):
print (txt,"=",end =" ")
for i in range(1,10 ):
if arr[i]:
print (i,end=" ")
print ()
#-------------------------------------------------------
def libre(p):
if p==0:
return True
if p<10:
a=p
if not(used[a]):
return True
else:
a=p//10
b=p%10
if not(used[a]) and not(used[b] ):
return True
return False
#-------------------------------------------------------
def store(p):
# on ne stock pas 0
global used
#print ("in store ",p)
if p==0:
return
if p<10:
used[p]=True
else:
a=p//10
b=p%10
used[a]=True
used[b]=True
return
def isSol():
global mini,k,mini_set,all_mini_set
for i in range(1,10):
if not used[i]:
return False
s=i_1+i_2+i_3+i_4+i_5+i_6+i_7+i_8+i_9
if s <= mini[0]:
if s < mini[0]:
k=k+1
mini[0]=s
mini[1]=i_1
mini[2]=i_2
mini[3]=i_3
mini[4]=i_4
mini[5]=i_5
mini[6]=i_6
mini[7]=i_7
mini[8]=i_8
mini[9]=i_9
a_set=sorted(set([i for i in mini if i >0] ))
if (a_set not in all_mini_set):
mini_set=a_set.copy()
all_mini_set.append(a_set)
print (a_set)
#print (mini,end="")
"""
see("used ",used)
see("sav_9",sav_9)
see("sav_8",sav_8)
see("sav_7",sav_7)
see("sav_6",sav_6)
see("sav_5",sav_5)
see("sav_4",sav_4)
see("sav_3",sav_3)
see("sav_2",sav_2)
see("sav_1",sav_1)
"""
#if k>2:
# sys.exit(0)
return True
#-------------------------------------------------------
#╚ 0 : ne pas utiliser
jeu=[
[],
[0,13, 17, 19, 31, 41, 61, 71],
[0,2,23,29],
[0,3,13,23,31,37,43,53,73,83],
[0,41,43,47],
[0,5,53,59],
[0,61,67],
[0,7,17,37,47,67,71,73,79,97],
[0,83,89],
[0,19,29,59,79,89,97]
]
print ("-------------------------------------------")
for i in range(10):
print (jeu[i])
print ("-------------------------------------------")
mini=[1000]+[0 for i in range(1,10) ]
mini_set={}
all_mini_set=[]
used=[False for i in range(10 )]
sav_1=used.copy()
k=0
for i_1 in jeu[1]:
used=sav_1.copy()
if libre(i_1):
store(i_1)
sav_2=used.copy()
for i_2 in jeu[2]:
used=sav_2.copy()
if libre(i_2):
store(i_2)
sav_3=used.copy()
for i_3 in jeu[3]:
used=sav_3.copy()
if libre(i_3):
store(i_3)
sav_4=used.copy()
for i_4 in jeu[4]:
used=sav_4.copy()
if libre(i_4):
store(i_4)
sav_5=used.copy()
for i_5 in jeu[5]:
used=sav_5.copy()
if libre(i_5):
store(i_5)
sav_6=used.copy()
for i_6 in jeu[6]:
used=sav_6.copy()
if libre(i_6):
store(i_6)
sav_7=used.copy()
for i_7 in jeu[7]:
used=sav_7.copy()
if libre(i_7):
store(i_7)
sav_8=used.copy()
for i_8 in jeu[8]:
used=sav_8.copy()
if libre(i_8):
store(i_8)
sav_9=used.copy()
for i_9 in jeu[9]:
used=sav_9.copy()
if libre(i_9):
store(i_9)
isSol()
used=sav_9.copy()