Answer:
Maria needs 3 lengths of gutter of finish the shed.
Step-by-step explanation:
We need to calculate the perimeter of the rectangular shed to know how much 5 feet gutter is needed.
The perimeter of the shed is p = 2(l + b) where l = 10ft and b = 9 ft
p = 2(10 + 9) = 2(19) = 38 ft
Now, the perimeter of the shed also equal 23 ft of gutter already installed plus 5x ft gutter where x = number of gutters.
So 23 + 5x = 38
collecting like terms, we have
5x = 38 - 23
5x = 15
dividing through by 5 we have
5x/5 = 15/5
x = 15/5
x = 3
So, Maria needs 3 lengths of gutter of finish the shed.
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
8 m minus 6 less or equal than 10
Hi there! :)
Answer:
[tex]\huge\boxed{m\leq 2}[/tex]
Equation:
8m - 6 ≤ 10
Add 6 to both sides:
8m ≤ 16
Divide both sides by 8:
8m/8 ≤ 16/8
m ≤ 2
Answer:
8m - 6≤ 10
m≤2
Step-by-step explanation:
8m - 6≤ 10
Add 6 to each side
8m - 6+6≤ 10+6
8m ≤ 16
Divide each side by 8
8m/8 ≤16/8
m≤2
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.
Evaluate f (x) = 2 x torx =-5.
Answer:
-10.
Step-by-step explanation:
f(x) = 2x, x = -5.
f(-5) = 2(-5)
= 2 * (-1) * 5
= 10 * (-1)
= -10.
Hope this helps!
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
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.
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
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.
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!
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
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
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²
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
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
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!
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
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
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
Howard earns $46 for every 2 hours of work. What is the constant of proportionality in the scenario?
Answer:
23
Step-by-step explanation:
Take the amount of money and divide by the hour
46/2 = 23
23 dollars for every hour
The constant of proportionality is 23
Patrick deposited $6,875 into a savings account 17 years ago. The account has an interest rate of 4.9% and the balance is currently $15,734.11. How often does the interest compound
Answer:
Quaterly
Step-by-step explanation:
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.
Find the distance between the two points (-4,4) and (1,0)
Answer:
The answer is
[tex] \sqrt{41} \: \: \: units[/tex]Step-by-step explanation:
The distance between two points can be found by
[tex] \sqrt{ ({x _{1} - x_{2} })^{2} + ({y_{1} } - y_{2} )^{2} } [/tex]
where
( x1 , y1) and ( x2 , y2) are the points
So the distance between (-4,4) and (1,0) is
[tex] \sqrt{( { - 4 - 1})^{2} + ( {4 - 0})^{2} } [/tex][tex] = \sqrt{ ({ - 5})^{2} + {4}^{2} } [/tex][tex] = \sqrt{25 + 16} [/tex]We have the final answer as
[tex] \sqrt{41} \: \: \: units[/tex]Hope this helps you
Question 2(Multiple Choice Worth 1 points) (06.03 MC) Choose the correct simplification of the expression (5xy5)2(y3)4 A.25x2y22 B.10x2y22 C.25x3y14 D.10x3y14
Question 3(Multiple Choice Worth 1 points) (06.05 MC) Aurora is selling tickets to a carnival. The function f(x) = 0.5x represents the amount of money Aurora earns per ticket, where x is the number of tickets she sells. The function g(x) = 8x represents the number of tickets Aurora sells per hour, where x is the number of hours she works. Find f(g(x)), and explain what it represents.
Answer:
Question 2;
A. 25·x²·y²²
Question 3;
f(g(x)) = 4·x, represents the amount Aurora earns per hour
Step-by-step explanation:
Question 2;
(5·x·y⁵)²(y³)⁴ = (25×x²×y¹⁰)×y¹²
(25×x²×y¹⁰)×y¹² = 25×x²×y¹⁰⁺¹² = 25×x²×y²²
Therefore, the correct option is A. 25·x²·y²²
Question 3;
The given functions are;
The function f(x) = 0.5·x is the earnings of Aurora per ticket sold
The function g(x) = 8·x is the number of tickets Aurora sells per hour
Therefore, we have;
f(g(x)) = 0.5 × g(x) = 0.5 × 8·x = 4·x
The value of the function of a function f(g(x)) = 4·x, represents the amount Aurora earns 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
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]
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
1) Which is a prime number?
19
15
18
22
Answer: 19
Definition:
Prime: Prime numbers are numbers that can only be multiplied ONE time.
Example: 19×1=19
Composite: Composite numbers are numbers that can be multiplied MORE THAN ONE time.
Number 15: 15×1=15, 15×2=30, 15×3=45
Number 18: 18×1=18, 18×2=36, 18×3=54
Number 22: 22×1=22, 22×2=44, 22×3=66
Answer: The answer is 19.
Step-by-step explanation:
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.
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');