Answer:
933
Step-by-step explanation:
female : male
x : 1000
x : 4000
1000 x 4 = 4000
3732 : 4000
3732 ÷ 4 = 933
is 7.2 a repeating or terminating decimal
Answer: terminating
Step-by-step explanation:
Answer:
7.2 is a terminating decimal.
Step-by-step explanation:
Terminating decimals are decimals that have an end point. The decimal does not continue to go on and on with numbers but, it stops at one number which makes it terminating.
Repeating decimals are decimals that go on and on with the same number or same patterns of numbers.
So, since 7.2 has an endpoint, then it is a terminating decimal.
Andrea is comparing the prices charged by two different taxi firms.
Firm A charges £20 for a 5 mile journey and £30 for a 10 mile journey, and there is a linear relationship between the price and the length of the journey.
Firm B charges a pickup fee of £3 and then £2.40 for each mile travelled.
Find the length of the journey for which both firms would charge the same amount.
Answer: 17.5 miles
Step-by-step explanation:
P=price, L=length
Firm A:
P=2L+10
Firm B:
P=2.40L+3
2.40L+3=2L+10
L=17.5
The fare would be the same for 17.5 miles for both firms.
What are linear equations?Linear equations help in representing the relationship between variables such as x, y, and z, and are expressed in exponents of one degree. In these linear equations, we use algebra, starting from the basics such as the addition and subtraction of algebraic expressions.
Given here, Firm A charges £20 for a 5 mile journey and £30 for a 10 mile journey . let the fixed component of the fare be k and charge for travelling per mile be x then we have, 20=5x+k. . . (1)
30=10x+k. . . .(2)
solving these two equations we get x=2 and k = 10
Now let the length of the journey that both firm charge the same is equal to L and given here that firm B charges a pickup fee of £3 and then £2.40 for each mile travelled. Thus forming the equations we get
2L+10=2.40L+3
0.40L=7
L=17.5
Hence, The fare would be the same for 17.5 miles for both firms.
Learn more about linear equations here:
https://brainly.com/question/29739212
#SPJ2
plz help ASAP!!!!!!!!!!!!!
Answer:
3rd option is correct
Step-by-step explanation:
If the table represents a function, that means that it is proportional. But the value increases and decreases, showing no proportional relationship.
So, the answer could be 1st or 3rd as they tell that the table doesn't represent a function.
1st answer says the table doesn't represent a function because the 2 (y-values) are similar;
Their x-values are different so, this answer is wrong.
3rd answer says that the table doesn't represent a function x-value increases, while y-value increases and decreases;
The statement is correct because it this table doesn't represent a proportional relationship as its y-values are increasing and decreasing while its x-values are only increasing.
So, the 3rd option is correct.
Form a group of 17 women and 11 men, a researcher wants to randomly
select 5 women and 5 men for a study. In how many ways can the study
group be selected.
Answer:
17C5+11C5
Step-by-step explanation:
Well there are 17 and chooses 5 that's 17C5
there are 11 men abd chooses 5 that's 11C5
so add them up
17C5+11C5
The combination helps us to know the number of ways an object can be selected without a particular manner. The number of ways in which 5 men and 5 women can be selected is 2,858,856.
What is Permutation and Combination?Permutation helps us to know the number of ways an object can be arranged in a particular manner. A permutation is denoted by 'P'.
The combination helps us to know the number of ways an object can be selected without a particular manner. A combination is denoted by 'C'.
[tex]^nC_r = \dfrac{n!}{(n-r)!r!}\ , \ \ ^nP_r = \dfrac{n!}{(n-r)!}[/tex]
where,
n is the number of choices available,
r is the choices to be made.
Given that from a group of 17 women and 11 men, a researcher wants to randomly select 5 women and 5 men for a study.
Now, the number of ways for selection can be written as,
Number of ways in which men can be selected = ¹¹C₅ = 462
Number of ways in which women can be selected = ¹⁷C₅ = 6188
Further, the number of ways for selection can be written as,
Number of ways = Number of ways in which men can be selected × Number of ways in which women can be selected
Number of ways = 462 × 6188
Number of ways = 2,858,856
Hence, the number of ways in which 5 men and 5 women can be selected is 2,858,856.
Learn more about Permutation and Combination here:
https://brainly.com/question/11732255
#SPJ2
order of operation
3⋅6−2+2
Answer:
18
Step-by-step explanation:
3⋅6−2+2
Use PEMDAS = Parentheses, Exponent, Multiplication, Division, Addition, Subtraction
First we multiply, then add or subtract so,
18 - 2 + 2
Now we subtract,
16 + 2
Now we add,
18
solving polynomial(2x+8)(-3y-8)
Answer:
-6xy - 16x -24y -64
Step-by-step explanation:
(2x+8)(-3y-8) =
To find the answer,
First multiply, the first number on both sides,
2x * -3y = -6xy
Then the first number on the left side and the second number on the right side,
2x * -8 = -16x
Then the second number on the left side and the first number on the right side,
8 * -3y = -24y
Then the second number on the left side and the second number on the right side,
8 * -8 = -64
Now add all the answers,
-6xy -16x -24y -64
Answer:
-6xy-16x-24y-64
Step-by-step explanation:
(2x+8)(-3y-8)
Foil
First 2x*-3y = -6xy
outer -8*2x = -16x
inner -3y *8 = -24y
last -8*8 = -64
Add them together
-6xy-16x-24y-64
A group of engineers developed a new design for a steel cable. They need to estimate the amount of weight the cable can hold. The weight limit will be reported on cable packaging. The engineers take a random sample of 43 cables and apply weights to each of them until they break. The 43 cables have a mean breaking weight of 774.3 lb. The standard deviation of the breaking weight for the sample is 15.4 lb. Find the 90% confidence interval to estimate the mean breaking weight for this type cable.
Answer:
At 90% confidence interval, the estimate of the mean breaking weight is (770.45, 778.15)
Step-by-step explanation:
Given that:
sample size n =43
sample mean x = 774.3
standard deviation = 15.4
confidence interval = 90%
At C.I of 90% , the level of significance ∝ = 1 - C.I
the level of significance ∝ = 1 - 0.90
the level of significance ∝ = 0.10
The critical value for z at this level of significance is [tex]z_{\alpha/2} = z_{0.10/2}[/tex]
[tex]z_{0.05}[/tex] = 1.64
The margin of error can be computed as follows:
Margin of error = [tex]\mathtt{z_{\alpha/2} \times \dfrac{\sigma}{\sqrt{n}}}[/tex]
Margin of error = [tex]\mathtt{1.64 \times \dfrac{15.4}{\sqrt{43}}}[/tex]
Margin of error = [tex]\mathtt{1.64 \times \dfrac{15.4}{6.5574}}[/tex]
Margin of error = [tex]\mathtt{1.64 \times2.3485}[/tex]
Margin of error = 3.8515
The mean breaking weight for the 90% confidence interval is = [tex]\mathtt{\overline x \pm E < \mu }[/tex]
= [tex]\mathtt{\overline x - E < \mu < \overline x + E}[/tex]
= ( 774.3 - 3.8515 < μ < 774.3 + 3.8515 )
= (770.4485, 778.1515)
[tex]\simeq[/tex] (770.45, 778.15)
This event is independent, true or false?
You roll a fair six-sided die twice. The first roll show a three and the second roll shows a four.
True
False
Answer:
This event is independent this statement is true because we cannot control the motion of a dice.
Step-by-step explanation:
Hope it will help you :)
Answer:I'm pretty sure it's independent
Jeremy drove 180 miles in 3 hours. Find his average rate of change.
Answer:
60 miles per hour
Step-by-step explanation:
Total distance= 180 miles
Total time =3 hours
Average rate of change= ?
Distance= Rate × time
Make Time the subject of the formula
Time= Distance / Rate
Make average rate of change the subject of the formula
Average rate of change = Distance / time
= 180 miles / 3 hours
= 60 miles per hour
Samantha is making salad for a party at her house. In the salad recipe that she is using, it takes 3/4 of a pound of boneless chicken breasts to make 5 portions of the salad. She uses 1 1/5 pounds of chicken for every 3 cherry tomatoes used, and 9 cherry tomatoes for every 2 bags of spinach used. If Samantha is making enough salad to use 4 bags of spinach, how many portions of salad will she make?
Answer:
48 portions of salad
Step-by-step explanation:
4 bags spinach = 18 cherry tomatoes = 7.2 lb of chicken
7.2/.75 = 9.6 x 5 = 48
PLZZZ help!!!
Find the area and the perimeter of the shaded regions below. Give your answer as a completely simplified exact value in terms of π (no approximations). The figures below are based on semicircles or quarter circles and problems b), c), and d) are involving portions of a square.
Answer:
[tex]A_s = 36\pi - 72[/tex]
Step-by-step explanation:
[tex]A_{shaded} = \frac{A_{circle}}{4} - A_{triangle}\\\\A_c = \pi r^2\\A_c = \pi(12)^2\\A_c = 144\pi\\\\A_t = \frac{b * h}{2} \\\\A_t = \frac{12 * 12}{2} \\\\A_t = 72\\\\\\A_s = \frac{144\pi }{4} - 72\\A_s = 36\pi - 72[/tex]
Graphically, a point is a solution to a system of two inequalities if and only if the point lies in the shaded region of the top inequality, but not in the shaded region of the bottom inequality. lies in the shaded region of the bottom inequality, but not in the shaded region of the top inequality. lies in the shaded regions of both the top and bottom inequalities. does not lie in the shaded region of the top or bottom inequalities.
Answer:
lies in the shaded regions of both the top and bottom inequalities
Step-by-step explanation:
For a point to be a solution of two inequalities, it must lie in both solution sets. It ...
lies in the shaded regions of both the top and bottom inequalities
We want to define when a point is a solution of a system of inequalities, we will see that the correct option is: "lies in the shaded regions of both the top and bottom inequalities."
Just like in a system of equations, a solution of the system is must be a solution of both equations.
Here, a solution ot the system of inequalities must be at the same time a solution of each inequality.
Remember that the solutions of the inequalities are represented by shaded regions, so the point must belong to the intersection of the two shaded regions.
So the correct option is:
"lies in the shaded regions of both the top and bottom inequalities."
If you want to learn more, you can read:
https://brainly.com/question/20067450
can someone help me with this graphical method equation 3x + 5y = -2 7x - 8y = 15
Answer:
x = 1
y = -1
Step-by-step explanation:
3x + 5y = -2
7x - 8y = 15
=> -8y = 15 - 7x
=> -y = 15/8 - 7/8x
=> y = -15/8 + 7/8x
3x + 5(-15/8 + 7/8x) = -2
=> 3x -75/8 + 35/8x = -2
=> 24/8x - 75/8 + 35/8x = -16/8
=> 59/8x - 75/8 = -16/8
=> 59/8x = 59/8
=> x = 59/8 x 8/59
=> x = 472/472
=> x = 1
x = 1
So, 3x + 5y = -2
=> 3 (1) + 5y = -2
=> 3 + 5y = -2
=> 5y = -5
=> y = -5/5
=> y = -1
So, x = 1
=> y = -1
A square plot of land has an area of 484m².What is the perimeter
Answer:
Perimeter: 88m
Step-by-step explanation:
Area of the square plot = (Side) X (Side)
And we are given the area is 484m²,
therefore, (Side) X (Side) = 484m²
or,
(Side)² = 484, taking square root on both the sides,
[tex]\sqrt{(Side)^{2} }[/tex] = [tex]\sqrt{484}[/tex]
Side = 22m.
And we know that, perimeter of a square is = 4 X (Side)
Therefore, Perimeter = 4 X 22 = 88m
:-)
Answer:
88m
Step-by-step explanation:
Area = 484m^2
A= s^2
484= s^2
s=[tex]\sqrt{484}[/tex]=22m
∴22m=s
⇒So, Perimeter= 4a=22*4= 88m
What is the other endpoint of a segment with a midpoint of M(6, 1) and an endpoint S(5,-3)?
ANSWERS ASAP!!!!
Answer:
(7, 5)
Step-by-step explanation:
(x+5)/2, ( y-3)/2)=(6,1)
(x+5)/2=6, x= 7
( y-3)/2=1, y=5
help me Complete each sentence to describe the algebraic expression 9 + y. The variable in the expression is . The operation in the expression is . The constant in the expression is .
Answer:
'y', "addition", '9'.
Step-by-step explanation:
The variable is an unknown value in an algebraic equation or expression. It is represented by a letter.
'y' would be the variable in the given equation.
The operation in the expression is addition. The '+' sign represents addition, which means 9 and 'y' would be added together to get the sum.
Constants are terms in a expression or equation that contains no variables. This means that constants are only numbers.
'9' would be the given constant in the expression.
Hope this helps.
Answer:
y
+
9
Step-by-step explanation:
calculate 6/√2 and express it in form of a√b
Answer:
[tex]3 \sqrt{2} [/tex]
Step-by-step explanation:
[tex] \frac{6}{ \sqrt{2} } = \frac{6}{ \sqrt{2} } \times \frac{ \sqrt{2} }{ \sqrt{2} } = \frac{6 \sqrt{2} }{2} = 3 \sqrt{2} [/tex]
We can't have a fraction that has a number under square root as it's denominator. So we will have to rationalize it, which means we will multiply the numerator and also the denominator by the number that is under the square root.
Hope this helps ;) ❤❤❤
Answer:
[tex]\boxed{\sf 3\sqrt{2}}[/tex]
Step-by-step explanation:
[tex]\displaystyle \frac{6}{\sqrt{2} }[/tex]
[tex]\sf Multiply \ both \ numerator \ and \ denominator \ by \ \sqrt{2}[/tex]
[tex]\displaystyle \frac{6 \times \sqrt{2} }{\sqrt{2} \times \sqrt{2} }[/tex]
[tex]\displaystyle \frac{6\sqrt{2} }{2 }[/tex]
[tex]\sf Simplify[/tex]
[tex]3\sqrt{2}[/tex]
There are 10 students on the basketball team. The coach selects 3 of them to go to the basketball clinic. In how many ways can she choose 3 of the 10 students?
[tex]_{10}C_3=\dfrac{10!}{3!7!}=\dfrac{8\cdot9\cdot10}{2\cdot 3}=120[/tex]
Question :-
There are 10 students on the basketball team. The coach selects 3 of them to go to the basketball clinic. In how many ways can she choose 3 of the 10 students?Answer :-
The coach can choose 3 of the 10 students in 120 ways.[tex] \rule{200pt}{3pt}[/tex]
Combinations refers to the number of ways of selecting from a set when the order is not important. The number of combinations of n objects taken r at a time is given by [tex]\sf C(n, r) = \dfrac{n!}{(n - r)!r!}, n \geqslant r[/tex].
Solution :-
As per the provided information in the given question, we have been given that the number of combinations of 10 students taken 3 at a time. We have been asked to calculate the ways that she can choose 3 of the 10 students.
To calculate the ways that she can choose 3 of the 10 students, we will apply the formula below :-
[tex] \qquad \bigstar \: \: \: \boxed{ \sf{ \: \: C(n, r) = \dfrac{n!}{(n - r)!r!} \: \: }}[/tex]
Substitute the given values into the above formula and solve for C:
[tex]\sf:\implies{ C(n, r) = \dfrac{n!}{(n - r)!r!}}[/tex]
[tex]\sf:\implies{ C(10, 3) = \dfrac{10!}{(10 - 3)!3!}}[/tex]
[tex]\sf:\implies{ C(10, 3) = \dfrac{10!}{7!3!}}[/tex]
[tex]\sf:\implies{ C(10, 3) = \dfrac{10 \cdot 9 \cdot 8 \cdot \cancel{7!}}{ \cancel{7!}3!}}[/tex]
[tex]\sf:\implies{ C(10, 3) = \dfrac{10 \cdot 9 \cdot 8}{3 \cdot 2}}[/tex]
[tex]\sf:\implies{ C(10, 3) = \dfrac{720}{6}}[/tex]
[tex]\sf:\implies \bold{ C(10, 3) = 120 \: ways}[/tex]
Therefore :-
The coach can choose 3 of the 10 students in 120 ways.[tex]\\[/tex]
Learn more about combinations at https://brainly.com/question/11955073
Have a great day! <33
URGENT PLZ!! Drag the correct transformation into the box to match the definition. [BLANK]... moves points across a specified line so that the line is the perpendicular bisector of each line segment connecting corresponding preimage and image points. Translation Rotation Reflection
Answer:
Reflection.
Step-by-step explanation:
Reflection moves points across a specified line so that the line is the perpendicular bisector of each line segment connecting corresponding pre-image and image points.
On the other hand, "Translation" moves points the same distance along lines that are parallel to each other while "Rotation" moves points along concentric circles and through the same angle of rotation.
At an angle of 90°, a line of reflection intersects the line segments connecting corresponding points of the pre-image under a reflection.
Basically, a reflection allows us to flip an object or figure across a line, point or plane without any change in its shape or size.
Hence, to reflect an object or a figure such as a triangle simply means that its mirror image would be produced with respect to a line; this line is generally referred to as the line of reflection.
Please answer this question now
Answer:
1001.66 in²
Step-by-step explanation:
radius=r=diameter/2
r=22/2=11
l is the slant =18
surface area of a cone= area of circle + area of the curved part of cone
SA=πr²+πrl
SA=3.14(11)²+3.14(11)(18)=1001.66 in²
Charlotte ordered dinner to be delivered to her house. The dinner cost d dollars before any tax or discounts were applied. She had a coupon for a 10% discount on the cost after an 8% tax was applied. She added a 16% tip to the total before any tax or discounts were applied. Which expressions could represent the total amount Charlotte paid
Answer:
1.132d
Step-by-step explanation:
Cost of the dinner=$d
Coupon=10% after
Tax=8%
Tax=0.08d
Tax + cost of dinner= d + 0.08d
Coupon for 10% discount after tax
10% coupon discount means she will pay 100% - 10%( coupon)
=90%
Price=90%(d + 0.08d)
=0.9(1.08d)
She added 16% tip to the total cost before any price or discount was applied
16% of d
=0.16*d
=0.16d
New price= 0.09(1.08d) + 0.16d
=0.972d + 0.16d
=1.132d
Having trouble.. help?
Answer:
(A) [tex]y = x+3[/tex]
Step-by-step explanation:
Using the values of (-6, -3), (3,6), and (5,8) we can substitute the values into each equation and see if the equation meets the requirements for all 3.
Let's test A first.
[tex]-3 = -6+3[/tex]
Correct, let's try the second pair.
[tex]6 = 3+3[/tex]
Correct, let's try the third pair.
[tex]8 = 5+3[/tex]
So yes, this equation works.
For fun, let's try the other equations.
Let's test B.
[tex]-3 = -6-3[/tex]
This is not true as -6 -3 = -9. So this equation is immediately ruled out.
Let's test C.
[tex]-3 = 2\cdot-6[/tex]
Again this doesn't work, as -6 times 2 is -12. So this equation is also ruled out.
Let's try D.
[tex]-3 = \frac{1}{2}\cdot-6[/tex]
This works, as half of -6 is -3 - however the equation will only work if all 3 pairs work for it.
Let's try the second pair.
[tex]6 = \frac{1}{2}\cdot3[/tex]
This doesn't work, as half of 3 is 1.5. This equation is also ruled out.
Therefore, A is the only equation that works with these pairs.
Hope this helped!
Please help.. Offering 25 points and 5 stars with a thanks
Answer:
2/5
Step-by-step explanation:
There are 2 white and 4 yellow = 6
P(yellow) = yellow /total = 4/6 = 2/3
We keep the ball
Now there are 2 white and 3 yellow = 5
P(yellow) = yellow /total = 3/5
P ( yellow, keep, yellow) = 2/3 * 3/5 = 2/5
We are given 4 yellow balls and 2 white balls. In total, this adds up to 6.
Divide the number of yellow balls to the total number of balls:
4/6 -> 2/3
We are also given 3 yellow and 2 white.
Divide the number of yellow balls to the total number of balls:
3/5
Divide both fractions together:
3/5 * 2/3 = 6/15 = 2/5
Best of Luck!
Use the image to answer the question. What notes do you see? a. quarter and eighth notes b. whole and quarter notes c. eighth and sixteenth notes d. quarter and sixteenth notes help me please, ty
Answer:
a. quarter and eighth notes is the best option
Step-by-step explanation:
you can get help from this attachment
hope it will help you :)
If ABC is reflected across the y-axis, what are the coordinates of A? A> (4,-2)
Answer:
(4,2) is the answer on AP EX
The coordinate of the image of point A is (-4,-2)
What is Transformation?Transformation is the process of changing the graph to a new graph by Rotation, Reflection, Translation, and Dilation.
The coordinate of A is (4,-2)
When it is reflected across y axis, the coordinate (x,y) changes to ----> (-x,y)
So, the coordinates of A (4,-2) changes to (-4,-2)
To know more about Transformation
brainly.com/question/11709244
#SPJ2
Line a and t are parallel. What is the value of x?
7x - 48
5x
pls help me
Answer:
x = 24
Step-by-step explanation:
We know that lines s and t are parallel. Then by definition, the two labelled angles, which are same-side angles, are congruent and equal in measure.
Then, we set the expressions equal to each other:
7x - 48 = 5x
Subtract 5x from both sides:
7x - 5x - 48 = 0
2x - 48 = 0
Add 48 to both sides:
2x = 48
Divide by 2:
x = 48/2 = 24
Thus, x = 24.
~ an aesthetics lover
Find the surface area of a
sphere with a diameter of
15 in.
Can someone please explain how?
Answer:
About 706.5 square inches.
Step-by-step explanation:
Surface area of a sphere is: [tex]SA=4\pi r^2[/tex]
The radius is half the diameter. So, the radius of the given sphere is 7.5 in.
15/2 = 7.5
Find the surface area:
I use 3.14 for pi.
[tex]SA=4*3.14*7.5^2\\\\SA=4*3.14*56.25\\\\SA=12.56*56.25\\\\\boxed{SA=706.5}[/tex]
The surface area is about 706.5 square inches.
Hope this helps.
Answer:
SA=706.86 in²
Step-by-step explanation:
surface area of a sphere = 4πr²
radius r=d/2=15/2=7.5
SA=4(π)(7.5)²
SA=706.86 in²
2. Describe two methods to determine whether ratios form a proportion.
Answer:
1. Write both ratios as fractions and reduce them completely. If they are the same fraction, the ratios form a proportion.
2. Write both ratios as fractions. Do the cross products by multiplying the denominator of each fraction by the numerator of the other fraction. If the cross products are equal, the ratios form a proportion.
Write down inequalities,that are satisfied by these sets of integers between -10 and 10
1,2,3,4,5,6,7,8,9,10
-3,-4,-5,-6,-7,-8,-9,-10
9,10
-10
Answer:
Below
Step-by-step explanation:
Notice that x is between 10 and -10 but takes only the values that are integers.
The inequalities:
● we can write an inequality that includes all these values.
● -10 《 x 《 10
This is a possible inequality
Multiply both sides by 2 and you will get a new one:
● -20 《 2x 《 20
You can multiply it by any number to generate a new inequality.
Or you can add or substract any number.
I'm doing a task which involves magic v's, a maths pattern which has the rule of having the same total on each side. For e.g.
6 5
3 4
2
Is a magic v because each side adds up to 11. I need to make magic V's with the number 2-6 and 3-7. There are 24 possibilities for each number set.
Answer:
--1-- (of set 23456)
2 4
5 3
6
--2-- (of set 23456)
2 3
5 4
6
--3-- (of set 23456)
2 5
6 3
4
--4-- (of set 23456)
2 3
6 5
4
--5-- (of set 23456)
3 5
4 2
6
--6-- (of set 23456)
3 2
4 5
6
--7-- (of set 23456)
3 6
5 2
4
--8-- (of set 23456)
3 2
5 6
4
--9-- (of set 23456)
3 5
6 4
2
--10-- (of set 23456)
3 4
6 5
2
--11-- (of set 23456)
4 5
3 2
6
--12-- (of set 23456)
4 2
3 5
6
--13-- (of set 23456)
4 6
5 3
2
--14-- (of set 23456)
4 3
5 6
2
--15-- (of set 23456)
5 4
2 3
6
--16-- (of set 23456)
5 3
2 4
6
--17-- (of set 23456)
5 6
3 2
4
--18-- (of set 23456)
5 2
3 6
4
--19-- (of set 23456)
5 6
4 3
2
--20-- (of set 23456)
5 3
4 6
2
--21-- (of set 23456)
6 5
2 3
4
--22-- (of set 23456)
6 3
2 5
4
--23-- (of set 23456)
6 5
3 4
2
--24-- (of set 23456)
6 4
3 5
2
--1-- (of set 34567)
3 5
6 4
7
--2-- (of set 34567)
3 4
6 5
7
--3-- (of set 34567)
3 6
7 4
5
--4-- (of set 34567)
3 4
7 6
5
--5-- (of set 34567)
4 6
5 3
7
--6-- (of set 34567)
4 3
5 6
7
--7-- (of set 34567)
4 7
6 3
5
--8-- (of set 34567)
4 3
6 7
5
--9-- (of set 34567)
4 6
7 5
3
--10-- (of set 34567)
4 5
7 6
3
--11-- (of set 34567)
5 6
4 3
7
--12-- (of set 34567)
5 3
4 6
7
--13-- (of set 34567)
5 7
6 4
3
--14-- (of set 34567)
5 4
6 7
3
--15-- (of set 34567)
6 5
3 4
7
--16-- (of set 34567)
6 4
3 5
7
--17-- (of set 34567)
6 7
4 3
5
--18-- (of set 34567)
6 3
4 7
5
--19-- (of set 34567)
6 7
5 4
3
--20-- (of set 34567)
6 4
5 7
3
--21-- (of set 34567)
7 6
3 4
5
--22-- (of set 34567)
7 4
3 6
5
--23-- (of set 34567)
7 6
4 5
3
--24-- (of set 34567)
7 5
4 6
3
Step-by-step explanation:
This javascript code is extremely brute-force, but it does the job:
function checkIfInSet(i, set) {
return i.toString().split('').sort().join('') === set;
}
function checkIfMagic(s) {
return (parseInt(s[0]) + parseInt(s[1]) == parseInt(s[3]) + parseInt(s[4]))
}
function printMagic(s) {
console.log(`${s[0]} ${s[4]}`);
console.log(` ${s[1]} ${s[3]}`);
console.log(` ${s[2]}\n`);
}
function checkSet(set) {
let counter = 1;
for(let i=1; i<99999; i++) {
if (checkIfInSet(i, set) && checkIfMagic(i.toString())) {
console.log(`--${counter++}-- (of set ${set})`);
printMagic(i.toString());
}
}
}
checkSet('23456');
checkSet('34567');