How to solve systems using elimination

Answers

Answer 1

See explanations below on solving simultaneous equations by elimination.

Step-by-step explanation:

In solving simultaneous equations by elimination, you make one side of the variables equal and eliminate that side by either addition or subtraction, then solve the remaining variable whose value is then used in one of the equations to find the other variable. For example;

(i)   4x - 2y= 10

(ii)  x+ y =4

Making the x variable part equal to eliminate x

1(4x-2y=10)--------multiply by 1

4(x+y=4) ---------multiply by 4

4x -2y =10

4x+4y=16

Apply subtraction to eliminate the x variables

0 +6y =6

6y=6

y=6/6 = 1

Use the value of y =1 in the equation x+y= 4

x+y=4

x+1=4

x=4-1 = 3

x= 3,  and y=1

Learn More

Solve simultaneous equation by elimination :https://brainly.com/question/12035166

Keywords ; solve, simultaneous, equations, elimination

#LearnwithBrainly


Related Questions

What is the piecewise model of f(x)=.7|x-4|+2?

Answers

Answer:

The piecewise model of the function is

[tex]f(x)=-0.7x+4.8[/tex] -----> For [tex]x<4[/tex]

[tex]f(x)=0.7x-0.8[/tex] -------> For [tex]x\geq 4[/tex]

Step-by-step explanation:

we know that

The general form of absolute value equation is

[tex]f\left(x\right)=a\left|x-h\right|+k[/tex]

where

The variable a, tells us how far the graph stretches vertically, and whether the graph opens up or down

(h,k) is the vertex of the absolute value

In this problem we have

[tex]f\left(x\right)=0.7\left|x-4\right|+2[/tex]

we have

[tex]a=0.7[/tex]

The coefficient a is positive ----> the graphs open up

The vertex is the point (4,2)

Find the piecewise model

case 1) positive value

[tex]f(x)=0.7[(x-4)]+2[/tex]

[tex]f(x)=0.7x-2.8+2\\f(x)=0.7x-0.8[/tex]

Is a linear equation with positive slope

[tex](x-4)\geq 0\\x\geq 4[/tex]

The domain is the interval [4,∞)

case 2) negative value

[tex]f(x)=0.7[-(x-4)]+2[/tex]

[tex]f(x)=-0.7x+2.8+2\\f(x)=-0.7x+4.8[/tex]

Is a linear equation with negative slope

[tex](x-4)< 0\\x<4[/tex]

The domain is the interval (-∞,4)

[tex]x<4[/tex]

therefore

The piecewise model of the function is

[tex]f(x)=-0.7x+4.8[/tex] -----> For [tex]x<4[/tex]

[tex]f(x)=0.7x-0.8[/tex] -------> For [tex]x\geq 4[/tex]

11) Matthew goes hiking every 12 days and
swimming every 25 days. He did both kinds of
exercise today. How many days from now will he
go both hiking and swimming again?

Answers

Answer:

  300

Step-by-step explanation:

12 and 25 have no common factors, so their least common multiple is their product:

  12·25 = 300

Matthew will do both again in 300 days.

write a multiplication equation with one variable, and one fraction that has a solution of 8

Answers

Let x be variable and 1/2 as fraction
1/2x =8

Final answer:

To create an equation yielding a solution of 8, use a variable x and the fraction 1/4. By multiplying x by 32, the equation will result in 8.

Explanation:

To write a multiplication equation with one variable and one fraction yielding a solution of 8:

Start with the fraction 1/4.

Multiply that fraction by x = 32 to get a product of 8.

The length of a rectangle is 6 m longer than its width. If the perimeter of the rectangle is 48 m, find its area.

Answers

Answer:

135m^2

Step-by-step explanation:

length = l

width = w

l + l + w + w = 48

l = w+6

w+6 + w+6 + w + w = 48

4w + 12=48

4w=36

w=9

l=15

15*9=135

Answer:

A = 135m²

Step-by-step explanation:

Represent the problem with equationsRecall the formula for perimeterFind the dimensions of the rectangle (length and width)Recall the formula for areaUse the dimensions to find the area

Write equations to represent the problem.

l = w + (6m)        The length is 6m more than the width

P = (48m)        Perimeter is 48m

***We put brackets around numbers with the "m" to avoid confusing the units with a variable.

The formula for perimeter of a rectangle is P = 2(l + w)

Substitute "l" and "P" into the perimeter formula with the equations above. Simplify, then isolate "w".

P = 2(l + w)        

(48m) = 2(w + (6m) + w)        Collect like terms (w + w = 2w)

(48m) = 2(2w + (6m))        Distribute over brackets

(48m) = 4w + (12m)        Start isolating "w"

(48m) - (12m) = 4w + (12m) - (12m)        Subtract 12m from both sides

(36m) = 4w        

4w/4 = (36m)/4        Divide both sides by 4

w = 9m        Width of rectangle

Find "l" using the formula for length. Substitute the width.

l = w + (6m)        

l = (9m) + (6m)        Add

l = 15m        Length of rectangle

Use the formula for the area of a rectangle A = lw.

Substitute the values we found for length and width.

A = lw        

A = (15m)(9m)        Multiply

A = 135m²        Area of rectangle

Therefore the area of the rectangle is 135m².

PLEASE HELP PLEASE HELP
List four values that would be a solution to -2x > 10. Then, in 2 to 3 complete sentences, explain how you know your four values are solutions.

Answers

Answer:

-6, -7, -8, -9

Step-by-step explanation:

-2x > 10

x < -5

So x can be -6, -7, -8, -9

Any number less than -5 is a solution.

The listed ones are the solutions because they satisfy the the inequality,

-2x > 10

x = -6, -2(-6) > 10 12 > 10

x = -7, -2(-7) > 10 14 > 10

x = -8, -2(-8) > 10 16 > 10

x = -9, -2(-9) > 10 18 > 10

Factor the expression using the GCF: 15x - 25

Answers

Final answer:

To factor the expression 15x - 25 using the greatest common factor (GCF), divide each term by the GCF. The factored form is 5(3x - 5).

Explanation:

To factor the expression 15x - 25 using the greatest common factor (GCF), we need to find the largest number that divides both terms evenly. In this case, the GCF is 5. We can then divide each term by 5 to factor out the GCF:

15x ÷ 5 = 3x

-25 ÷ 5 = -5

Therefore, the factored form of the expression 15x - 25 is 5(3x - 5).

The expression 15x - 25 is factored by finding the Greatest Common Factor, which is 5, and then dividing each term by 5 to get the factored expression 5(3x - 5).

To factor the expression using the Greatest Common Factor (GCF), we need to identify the highest number that divides both coefficients in the expression 15x - 25. In this case, both 15 and 25 are divisible by 5, so 5 is the GCF of the expression. Applying the distributive property, we factor out the GCF:

Determine the GCF: 5.Divide each term by the GCF: 15x/5 = 3x and 25/5 = 5.Write the factored expression: 5(3x - 5).

Now, the expression 15x - 25 is fully factored as 5(3x - 5).

What is the definition of unit?

Answers

Answer:

an individual thing or person regarded as single and complete but which can also form an individual component of a larger or more complex whole

3(x + 1) + 4x + 3 = 34

Answers

Answer:

Step-by-step explanation:

3(x + 1) + 4x + 3 = 34......distribute thru the parenthesis

3x + 3 + 4x + 3 = 34....combine like terms

7x + 6 = 34....subtract 6 from both sides

7x = 34 - 6

7x = 28....divide by 7

x = 28/7

x = 4 <====

Answer:

look at the picture shown

How can you write the expression with a rationalized denominator? square root of three minus six over square root of three plus six

Answers

Answer:

[tex]- (\frac{15 - 4\sqrt{3} }{11} )[/tex]

Step-by-step explanation:

[tex]\frac{\sqrt{3}-6}{\sqrt{3} +6} = \frac{(\sqrt{3}-6)(\sqrt{3}-6)}{(\sqrt{3} +6)(\sqrt{3} -6)}[/tex]

[tex]= \frac{(\sqrt{3})^2 - (2\times6\times\sqrt{3}) +6^{2} }{(\sqrt{3})^2 - 6^{2}} = \frac{9 - 12\sqrt{3} + 36}{3 - 36}[/tex]

[tex]\frac{45 -12\sqrt{3} }{-33} =- (\frac{15 - 4\sqrt{3} }{11} )[/tex]

Can someone plz help me with this I am in “confusion”.

Answers

Answers are 1. a = 32, b = 2, 3. c = 4, 4. x = -3, 5. y = -7, 6. z = -2, 7. m = -7, 8. n = -4, 9. s = -3, 10. r = 5, 11. t = 3, 12. p = 2, 13. x = 9, 14. w = 6, 15. g = 1.5, 16. v = -16, 17. b = -6, 18. h = -5, 19. k = -2.5, 20. d = -3.5, 21. r = -8, 22. z = -9, 23. x = -7, 24. y = 3.5, 25. y = 9, 26. w = 8.

Step-by-step explanation:

Step 1; To solve the given equations we keep the unknown variable on one side while the known numbers are taken to the other side. If both sides are negative the answer has a positive value while if one side is positive and one side is negative, the answer is negative.

Step 2; Solve

1. a = 9/3=  3,

2. b = 14/7 = 2,

3. c = 36/9 = 4,

4. x = -15/5 = -3,

5. y = 28/-4 = -7,  

6. z = -16/8 = -2,

7. m = 28/-4 = -7,

8. n = 8/-2 = -4,

9. s = -21/7 = -3,

10. r = -25/-5 = 5,

11. t = -18/-6 = 3,

12. p = -18/-9 = 2,

13. x = 18/2 = 9,

14. w = 24/4 = 6,

15. g = 9/6 = 1.5,

16. v = -32/2 = -16,

17. b = -18/3 = -6,

18. h = -35/7 = -5,

19. k = 20/-8 = -2.5,

20. d = 14/-4 = -3.5,

21. r = -72/9 = -8,

22. z = 27/-3 = -9,

23. x = -35/5 = -7,

24. y = 28/8 = 3.5,

25. y = 81/9 = 9,

26. w = 16/2 = 8.

A triangular prism has a base area or 20 square feet and a height of 4 feet. What’s the volume

Answers

Answer:

Just multiply four times twenty and youll get your answer

See picture for solution to your problem.

What steps can be used To solve 6\7x+1/2=7/8

Answers

I'm guessing you mean (6/7)x+(1/2)=7/8

Subtract 1/2 (also 4/8) from both sides:  (6/7)x=3/8

Divide both sides by 6/7: x=21/48=7/16

So x is 7/16

Hope this helped!

Ashley is taking out a loan in the amount of $12,000. Her choices for the loan are a 4-year loan at 7.00% annual simple interest and a 5-year loan at 8.00% annual simple interest. What is the difference in the amount of interest Ashley would have to pay for these two loans?

Answers

Simple interest formula: A= P(1+Ryan)

A = 12000(1+ 0.07x4) = 15,360.00

Amount of interest = 15360-12000= 3,360.00

A= 12000(1+0.08x5) = 16,800.00

Interest = 16,800-12,000 = 4,800.00

Difference in interest = 4800 - 3360 = $1,440.00

Answer:

1440

Step-by-step explanation:

help need an answer quick​

Answers

Answer:

Step-by-step explanation:


Ryan is trying to determine whether 2.7x – 5.9 is equivalent to 2.8x – 5.9. To test this, he substitutes 0 for x into both expressions. Explain why this will not give him the correct answer.

Answers

Answer:

read explanation

Step-by-step explanation:

This won't give him the correct answer because if he substitutes zero into anything he will get -5.9. 0 multiplied by anything is 0 and if you put that into bot equations you get the same answer so it won't help him. he should instead try 1 or something like that.

Expand.
If necessary, combine like terms.
(4x + 1)(4x + 1) =

Answers

Answer: 16x² + 8x + 1

Step-by-step explanation:

(4x + 1)(4x + 1)

This expansion can be done in two ways either by direct expansion or by indirect expansion

(1) Direct expansion

(4x + 1)(4x + 1 )

4x X 4x + 4x X 1 + 1 X 4x + 1 X 1

= 16x² + 4x + 4x + 1

= 16x² + 8x + 1

(2) Method

This can be written thus:

(4x + 1 )(4x + 1 ) = (4x + 1 )²

= (4x)² + 2( 4x X 1 ) + 1²

= 16x² + 2(4x) + 1

= 16x² + 8x + 1.

(4x + 1)(4x + 1)

4x · 4x = 16x²

4x · 1 = 4x

1 · 4x = 4x

1 · 1 = 1

16x² + 4x + 4x + 1

16x² + 8x + 1

Area of circumference of 50.24ft

Answers

Answer:

[tex]200.96sq.ft.[/tex]

Step-by-step explanation:

Given:

            Circumference= 50.24 ft.

We have to find the area of the circle.

Finding the radius with the help of given circumference

            Circumference of a circle= [tex]2\pi r[/tex]

                           [tex]50.24=2*\pi* r\\\\50.24=2*(3.14)*r\\\\50.24=6.28*r\\\\r=\frac{50.24}{6.28} \\\\r= 8ft.[/tex]

Area of a circle=  [tex]\pi r2[/tex]

                     [tex]=\pi *8*8\\\\=64*\pi \\\\=64*3.14\\\\=200.96sq.ft.[/tex]

the sum of twice a number and 4 times another number is 4. the first number decreased by the second number is 5. Find the numbers

Answers

Final answer:

The two numbers being asked in the question are 4 and -1.

Explanation:

This question can be solved using a system of linear equations. Let's call the first number x and the second number y.

From the first statement, we can create one equation: 2x + 4y = 4

From the second statement, we can create another equation: x - y = 5

To solve this system, we can use substitution or elimination method. If we multiply the second equation by 2, we get 2x - 2y = 10. Now, we can subtract the second equation from the first: (2x + 4y) - (2x - 2y) = 4 - 10, which simplifies to 6y = -6. Dividing both sides by 6, we get y = -1.

Substitute y = -1 into the equation x - y = 5, we get x - (-1) = 5. Therefore, x = 5 - 1 = 4.

So, the first number x is 4 and the second number y is -1.

Learn more about Linear Equations here:

https://brainly.com/question/32634451

#SPJ3

Which of the following are quadratic equations
(i) (P + 1) (P + 2) (P+4) (ii) (x + 2)(square)= 7
(iii) k +2/5 - 5 = 0 (iv) M(square)– 1 = 0
(v) (x – 3)(cube) + 4 = 0​

Answers

Answer:

(ii) (x+2)²=7

(iv) M²-1 = 0

HOPE U UNDERSTOOD

THANKS

ANY DOUBTS? COMMENT PLEASE

When a number is decreased by 78%, the result is 16. What is the original
number to the nearest tenth?

Answers

Answer:

70

Step-by-step explanation:

16÷(100%-78%) = 16÷22% = 72.73 =70(correct to the nearest tenth)

The correct answer would be 72.7

Solve by substitution:

2x+6y=16
3x-5y=-18

Answers

Answer:

Step-by-step explanation:

y= 16

x=15

Using the substitution method,

The value of x is -1 and y is 3.

What is an equation?

An equation is a mathematical statement that is made up of two expressions connected by an equal sign.

Example:

2x + 3 = 8 is an equation.

We have,

2x + 6y = 16 _____(1)

3x - 5y = -18 ______(2)

From (1) we get,

2x = 16 - 6y

x = (16 - 6y)/2

Substituting in (2).

3x - 5y = -18

3 x (16 - 6y)/2 ) - 5y = -18

3 x (8 - 3y) - 5y = -18

24 - 9y - 5y = -18

24 + 18 = 9y + 5y

42 = 14y

y = 42/14

y = 3

And,

x = (16 - 6y)/2

x = (16 - 6 x 3) / 2

x = (16 - 18) / 2

x = -2/2

x = -1

Thus,

x = -1 and y = 3.

Learn more about equations here:

https://brainly.com/question/17194269

#SPJ6

the nutritional label on a carton of soy milk says that one glass contains 7 grams of protein. How many miligrams of proten does one glass contain?​

Answers

Answer:

700  milligrams of protein is contained in one glass.

Step-by-step explanation:

Given:

Protein present in on glass of soy milk =  7 grams

To Find:

How many milligrams of protein does one glass contain =?

Solution:

​We have to convert grams to milligrams

We know that 1 gram  =  100 milligram

then 7 grams  will be  = [tex]7 \times 100[/tex] milligrams

7 grams  =  700 milligrams

Therefore in one glass of soy milk there will be 700 milligrams of proteins

Are the following like terms: 7x and 9x

Answers

Answer: Yes

Step-by-step explanation: 7x and 9x are called terms and the numbers in front of the variables, +7 and +9 are called coefficients.

Because the variables, x and x are identical, the two terms in this problem are called like terms so yes, 7x and 9x are like terms.

Enter the number
15.666666666667 rounded to the nearest hundredth (two decimal places):

Answers

Answer:  15.67

Step-by-step explanation:

Pot Santa

Answer:

15.67

Step-by-step explanation:

focus only on the underlined area

15.666666666667

round the last 6 underlined is what we are going to use to round the one before it

5 or more goes up so the six is now rounded to a seven on that part leaving you with 15.67

The dimensions of a rectangular prism are shown in the diagram below. Write an expression that represents the volume of the rectangular prism?

Hint: Aprism= Length x width x height

Answers

Answer:

[tex]V=(a^{4})(b^{6})\ units^3[/tex]

Step-by-step explanation:

we know that

The volume of a rectangular prism is equal to

[tex]V=LWH[/tex]

In this problem we have

[tex]L=ab^2\\W=ab^3\\H=a^2b[/tex]

substitute

[tex]V=(ab^2)(ab^3)(a^2b)[/tex]

Applying property of exponents

[tex]x^{m} x^{n}x^{r} =x^{m+n+r}[/tex]

[tex]V=(a^{4})(b^{6})\ units^3[/tex]

Describe the vector as an ordered pair round the coordinates to the nearest tenth. The diagram is not drawn to scale.
A.)<-58.1, 50.5>
B.)<-102, 117.4>
C.)<-117.4, 102>
D.)<-50.5, 58.1>

Answers

Answer:

D.)<-50.5, 58.1>

Step-by-step explanation:

The vector can be decomposed into its x and y components using trigonometry.

The x and y components of the vector, together with the vector length forms a right triangle, as shown in the figure attached.

The x-component of the vector is given by

[tex]sin (-41^o)=\dfrac{x}{77}[/tex]

[tex]x=77*sin (-41^o)[/tex]

[tex]x=-50.5[/tex]

And the y-component of the vector is given by

[tex]cos(-41^o)=\dfrac{y}{77}[/tex]

[tex]y=77*cos(-41^o)[/tex]

[tex]y=58.1[/tex]

Thus, the vector as an ordered pair is represent by

[tex]\boxed{ (-50.5, 58.1)}[/tex]

which is choice D.

You randomly draw a marble from a bag of marbles that contains 3 blue marbles, 4 green marbles, and 5 red marbles.
What is P(draw a blue marble)?
If necessary, round your answer to 2 decimal places.

Answers

Answer:

0.25

Step-by-step explanation:

number of trial = 12

probability of getting blue marbles = 3/12

0.25

The profits for video game companies depend on what game platform the game runs on, which can either be a portable system (p) with a built in screen, or a standard system (s) that you have to hook up to a television. The profit off of a portable game system is $72, while the profit from a standard game system is $90. The store manager has to make at least $360 per day in order to keep the store open. Which graph represents this inequality? Write the inequality that represents the number of games that must be sold everyday to meet or beat the sales goal.

Answers

To meet or beat the sales goal, the inequality 72x + 90y ≥ 360 can be used to represent the number of games that must be sold every day. The graph of this inequality would show the region above or on the line 72x + 90y = 360.

To meet or beat the sales goal of at least $360 per day, we can set up an inequality based on the profits from selling games. Let x be the number of portable game systems sold and y be the number of standard game systems sold. The inequality representing the number of games that must be sold every day is 72x + 90y ≥ 360.

To graph this inequality, we can plot the points on a graph where each point represents a combination of x and y. Then we shade the region that satisfies the inequality, which is the region above or on the line 72x + 90y = 360.

See the graph in the attached image for visual representation.

Learn more about Inequalities here:

https://brainly.com/question/30231190

#SPJ11

The graph of a linear function is shown.

A coordinate plane with a straight line. The line starts at (negative 5, negative 1) and continues up and to the right passing through (0, 0) and (5, 1).
Which word describes the slope of the line?

positive
negative
zero
undefined

Answers

See picture for answer and explanation.

We can completely define a line equation by only knowing two points on the line, so we will use that to find our line's slope.

The slope is positive. (We will see that the slope is equal to 1/5).

The first general rule is that, if the line, readen from lest to right increases, then the slope is positive. (Here by the description we know that it increases).

But let's find the slope to see this.

If we know that the line passes through two points (x₁, y₁) and (x₂, y₂) then we can write the slope as:

[tex]a = \frac{y_2 - y_1}{x_2 - x_1}[/tex]

Here we can use two of the given points to find the slope, I will use the first two: (-5, -1) and (0, 0)

We will get:

[tex]a = \frac{0 - (-1)}{0 - (-5)} = \frac{1}{5}[/tex]

So the slope is 1/5, which is positive.

Then the correct option is the first one.

If you want to learn more, you can read:

https://brainly.com/question/19770987

The simple interest due on a six month loan of $2500 is $125. What is the monthly payment of the loan?

Answers

The monthly payment of the loan is  =$ 437.5

Step-by-step explanation:

Given , the simple interest due on a six month loan of $2500 is $125.

Total amount he paid =$ (2500+125)

                                    =$2625

The monthly payment of the loan is =$(2625÷6)

                                                                =$ 437.5

Other Questions
. Harrison et al. are conducting a study assessing the ability of depressed versus non-depressed participants to remember negative emotions in a short story about a family whose car breaks down. They plan to ask participants to read the story and then make a list of the emotions expressed in the story. Before beginning the study, they make a list of negative emotions (e.g., sadness and anger) that they will record from the participants responses. In this example, negative emotions are the ________.a. operational definition b. significant variablec. independent variable d. dependent variable A company rents bicycles for a few of $10 plus $4 per hour of use. Write an algebraic expression for the total cost in dollars for renting a bicycle for h hours. Which of the following is a principle of the fluid mosaic model of cell membrane structure? a. Phospholipids consist of a polar head and a nonpolar tail made of three fatty acid chains. b. The lipid bilayer is a solid at body temperature, thus protecting the cell. c. All proteins associated with the cell membrane are contained in a fluid layer on the outside of the cell. d. Phospholipids form a bilayer that is largely impermeable to water-soluble molecules. International trade:Question 20 options:a) reduces resource consumption.b) increases consumption possibilities.c) increases consumer prices.d) reduces production possibilities. A swimmer is swimming to the left with a speed of 1.0 m/s when she starts to speed up with constant acceleration. The swimmer reaches a final speed of 2.5 m/s over a distance of 5.0 m. How long did the swimmer take to speed up to 2.5 m/s? Around the answer to two significant digits. There are two different alleles for flower color, P and p. The image shows a purple sweet pea that is labeled with its two alleles for petal color.A purple sweet pea is labeled Upper P Upper P.Which is the genotype of the sweet pea?A.heterozygous dominantB.heterozygous recessiveC.homozygous dominantD.homozygous recessive In aerobic cellular respiration, if four molecules of pyruvic acid enter steps two, the formation of acetyl CoA and three, the Krebs cycle, how many molecules of ATP, NADH, and FADH2 will be formed? Greatest Common Factor (GCF)1. 12a - 27 Im trying to write an essay about overcoming adversity can someone help please What did miller an ureys experiment provide evidence for MARKING BRAINLIST | EASY. Is going to summer school a short term or long term goal? Please help : ) - square roots how do i do this? El Nio and La Nia patterns are examples of how wind patterns affect _____. A. the jet streams B. Earth's rotation C. ocean currents D. atmospheric convection Select the appropriate terms from the drop down boxes below to correctly complete the statement.The quadrilaterals are similar because quadrilateral FGHJ is the image of quadrilateral ABCD under a dilation with a center of import java.awt.GridLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;import javax.swing.JTextField;public class ConversionCalculator extends JFrame{private final int window_WIDTH=500;private final int window_HEIGHT=250;private JTextField centimeterTxt=new JTextField(10);private JTextField inchesTxt=new JTextField(10);private JTextField metersTxt=new JTextField(10);private JTextField yardsTxt=new JTextField(10);private JPanel inputPanel=new JPanel();private JPanel buttonPanel=new JPanel();private JButton clearBtn=new JButton("Clear");private JButton calculateBtn=new JButton("Caclculate");private JButton exitBtn=new JButton("Exit");//Constructorpublic ConversionCalculator(){//set titlesetTitle("Conversion Calculator");//set sizesetSize(window_WIDTH, window_HEIGHT);//Call createGUIPanelcreateGUIPanel();setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//set visible truesetVisible(true);}//Create a GUI panelprivate void createGUIPanel(){JPanel guiPanel=new JPanel();guiPanel.setLayout(new GridLayout(1, 2));//Add controls to the input panelinputPanel.setLayout(new GridLayout(2, 4));inputPanel.add(new JLabel("Centimeters"));centimeterTxt.setText("0.00");inputPanel.add(centimeterTxt);inputPanel.add(new JLabel("Inches"));inchesTxt.setText("0.00");inputPanel.add(inchesTxt);inputPanel.add(new JLabel("Meters"));metersTxt.setText("0.00");inputPanel.add(metersTxt);inputPanel.add(new JLabel("Yards"));yardsTxt.setText("0.00");inputPanel.add(yardsTxt);//Add controls to the button panelbuttonPanel.setLayout(new GridLayout(3, 1));clearBtn.addActionListener(new ClearButtonListener());buttonPanel.add(clearBtn);calculateBtn.addActionListener(new CalculateButtonListener());buttonPanel.add(calculateBtn);exitBtn.addActionListener(new ExitButtonListener());buttonPanel.add(exitBtn);//Add input panale to guipanelguiPanel.add(inputPanel);//Add button panel to the guipanelguiPanel.add(buttonPanel);add(guiPanel);pack();}/*Inner class that implements action listener for exit button thatclose the application */private class ExitButtonListener implements ActionListener{@Overridepublic void actionPerformed(ActionEvent e){System.exit(0);}}/*Inner class that implements action listener for calculate button thatconverts the centimeters to inches and meters to yards */private class CalculateButtonListener implements ActionListener{@Overridepublic void actionPerformed(ActionEvent e){//Check if centimeters is not 0.00if(!centimeterTxt.getText().equals("0.00")){double centimeters=Double.parseDouble(centimeterTxt.getText());//convert inchesdouble inches=centimeters*0.3937;//set inches textfieldinchesTxt.setText(String.valueOf(inches));//convert yards}//Check if meters is not 0.00if(!metersTxt.getText().equals("0.00")){double meters=Double.parseDouble(metersTxt.getText());//convert yardsdouble yards=meters*1.0936;//set yardTxt textfieldyardsTxt.setText(String.valueOf(yards));//convert inches}}}/*Inner class that implements action listener for clear button thatresets the textfields to zero */private class ClearButtonListener implements ActionListener{@Overridepublic void actionPerformed(ActionEvent e){centimeterTxt.setText("0.00");inchesTxt.setText("0.00");metersTxt.setText("0.00");yardsTxt.setText("0.00");}}}The former code is the current code I have. The following is what needs to be changed.Implement the following event handling routines using Action ListenersWhen the user enters 10 at the "Inches" JTextField and clicks the "Calculate" button.a.Using the following equations, convert the entered length to other scales and then display on the corresponding .1 inch = 2.54 cm1 inch = 0.0278 yard1 cm = 0.01 meterNOTE: If you have trouble with these unit conversions and cannot get a hold of the instructor or TA, feel free to look up the conversions on Google.b.All values must be rounded to two decimal places and then displayed. One way to accomplish this would be a DecimalFormat object.This is the sample of the output needed ______ is the primary and dominant cryptographic authentication and encryption framework for security development within the TCP/IP family of protocol standards, including use for VPNs. Select the correct graph of 4x + 3y = 6. (1 point) 60 POINTS AND RAINLIEST!Koji is installing a rectangular window in an office building. The window is 823 feet wide and 534 feet high.The formula for the area of a rectangle is A=bh.What is the area of the window?Enter your answer as a mixed number in simplest form in the box.$$ a silver ingot has a volume of 53.6 cm and weighs 500g. what is the desity in grams per cubic centimeter. A blank was a term for an investigative journalist who exposed social injustice in the Progressive Era.