The sum of two numbers is 40. If 2 is added to the larger number, theresult is equal to twice the smaller number. What are the two numbers?

Answers

Answer 1

We have 2 numbers. We can call them x and y, being x the smaller one.

The sum of this two numbers is 40, so we can write:

[tex]x+y=40[/tex]

We know that if 2 is added to the larger number (that we name as y), the result is twice the smaller number, that would be 2x. Then, we can express this as:

[tex]y+2=2x[/tex]

We can express y in function of x from the second equation and then replace it in the first equation to solve for x:

[tex]y+2=2x\Rightarrow y=2x-2[/tex][tex]\begin{gathered} x+y=40 \\ x+(2x-2)=40 \\ 3x-2=40 \\ 3x=40+2 \\ 3x=42 \\ x=\frac{42}{3} \\ x=14 \end{gathered}[/tex]

Now, we can calculate y as:

[tex]\begin{gathered} y=2x-2 \\ y=2(14)-2 \\ y=28-2 \\ y=26 \end{gathered}[/tex]

Answer: the two numbers are 14 and 26.


Related Questions

Elisa has 24 black and white photographs and 72 photographs that are in color. She is arranging the photographs in an album and wants to contain the same combination of color and black and white photographs. What is the greatest number of pages elisa can fill with photographs

Answers

32 possibly?
72/24 = 3
72+24 = 96
96/3 = 32
Just a guess!

Please see attached picture of problem I need help with.

Answers

Step 1

List the elements of D

[tex]D=\lbrace2,.........\rbrace[/tex]

List the elements of E

[tex]E=\lbrace........,8\rbrace[/tex]

Find

[tex]D\cap E[/tex][tex]D\cap E=(1,8]--(\text{what is common\rparen}[/tex]

Find

[tex]D\cup E[/tex][tex]\begin{gathered} D\cup E=(1,\infty)\cup(-\infty,8]--(Listing\text{ all elements in D and E\rparen} \\ D\cup E=(-\infty,\infty) \end{gathered}[/tex]

Answers;

[tex]\begin{gathered} \begin{equation*} D\cap E=(1,8] \end{equation*} \\ \begin{equation*} D\cup E=(-\infty,\infty) \end{equation*} \end{gathered}[/tex]

What is the volume of this aquarium??in.in?in5 in.20 in.14 in.12 in.10 in

Answers

ANSWER :

2040 in^3

EXPLANATION :

From the problem, we have an aquarium.

If we divide the solid into two parts, we will have two rectangular prisms :

The big prism is 10 in by 12 in by 14 in.

The small prism is 5 in by 12 in by (20 - 14 = 6) 6 in

The volume formula of a prism is :

[tex]V=lwh[/tex]

The volume of the solid is the sum of the volumes of two prisms.

That will be :

[tex]\begin{gathered} V=10(12)(14)+5(12)(6) \\ V=2040in^3 \end{gathered}[/tex]

Lines a and b intersect do that the measure angle 1 is 85°. If angle 2 is complement to angle 1, what's the measure for angle 2?

Answers

if the angles are complementary, then the sum of the angles is 90°

[tex]\begin{gathered} 85+m\angle2=90 \\ m\angle2=90-85=5 \end{gathered}[/tex]

so the measure of the angle 2 is 5°

HELP PLEASEEEEE!!!!!!

Answers

The one rational number between -0.45 and -0.46 is -0.455.

What is defined as the term rational number?Rational are numbers which can be specified in the form p/q, in which p and q are integers and q≠. The distinction among rational numbers as well as fractions is that fractions cannot include a negative denominator or numerator. As a result, the denominator and numerator of such a fraction have been whole numbers (denominator 0), whereas the numerator and the denominator of rational numbers are integers.

For the given question.

The two rational number are given as;

-0.45 and -0.46.

To find the on rational number lying between the two given rational number is to take the average of both numbers.

= (-0.45 + (-0.46))/2

= -0.91/2

= -0.455

Thus, the one rational number between -0.45 and -0.46 is -0.455.

To know more about the rational number, here

https://brainly.com/question/12088221

#SPJ13

Find the smallest distinct positive numbers that provide a counterexample to show the statement is false.The sum of any two different odd numbers plus any even number is odd.

Answers

The sum of two even or odd numbers ALWAYS gives an even number.

We'll run a test with 1,2 and 3.

Odd numbers: 1, 3

Even number: 2

Adding the odd numbers, we get 1 +3 = 4.

Adding it to the even number, we get 4 +2 = 1 + 3 + 2 =6

The general form of an odd number = 2n + 1

The general form of an even number = 2n

Adding 2 odd numbers give 2(2n + 1) = 4n + 2

Adding to an even number; 4n + 2 + 2n

Giving 6n + 2

Any number of the form above is an even number

The statement is thus false.

Suppose that an individual has a body fat percentage of 19.2% and weighs 153 pounds. How many pounds of his weight is made up of fat? Round your answer to the nearest tenth.

Answers

Step 1

The given body fat percentage = 19.2%

The given body weight = 153 pounds

Required: To find how many pounds of his weight is made up of fat.

Step 2

Find out what 19.2% of his weight is

[tex]\begin{gathered} \frac{100}{19.2}=\frac{153}{x} \\ \text{where x represents the value of 19.2\% of his weight in pounds} \end{gathered}[/tex][tex]\begin{gathered} 100x=\text{ 153}\times19.2 \\ \frac{100x}{100}=\frac{2937.6}{100} \\ x=29.376\text{ pounds} \\ x\approx\text{ 29.4 pounds to the nearest tenth} \end{gathered}[/tex]

Hence, the pounds of his weight made up of fat to the nearest tenth = 29.4 pounds

You purchase a TV set that is originally valued at $1090. You receive a 45% discount on the purchase of a promo. Your sales tax rate is 7%. What is the total cost of the merchandise?

Answers

Answer:

The answer would be $641.47 I believe.

Step-by-step explanation:

Suppose that the 99% confidence interval for the true average number of canteen operating hours is [6, 9]. Which conclusion is correct if the average number of operating hours for canteens in the region is 8 hours? a. The average number of canteen operating hours in this city is not significantly different from that of the region since 8 is not contained in the interval. b. The average number canteen operating hours in this city is not significantly different from that of the region since 8 is contained in the interval. c. The average number of canteen operating hours in this city is significantly different from that of the region since 8 is contained in the interval. d. The average number of canteen operating hours in this city is significantly different from that of the region since 8 is not contained in the interval.

Answers

Given: Suppose that the 99% confidence interval for the true average number of canteen operating hours is [6, 9].

To Determine: Which conclusion is correct if the average number of operating hours for canteens in the region is 8 hours

Solution

Given the confidence interval of [6,9]. This means that

A confidence interval indicates where the population parameter is likely to reside. For example, a 99% confidence interval of the mean [6 9] suggests you can be 99% confident that the population mean is between 6 and 9

If the average number of operating hours for canteens in the region is 8 hours, then we can conclude that

The average number canteen operating hours in this city is not significantly different from that of the region since 8 is contained in the interval, OPTION B

Solve the equation 2x^3 – 5x² + x + 2 = 0 given that 2 is a zero of f (x) = 2x^3 – 5x^2 + x +2.

Answers

[tex]f(x)=2x^3-5x^2+x+2[/tex][tex]f(2)=2(2)^3-5(2)^2+(2)+2=16-20+2+2=0[/tex]

Hence, 2 is a zero of f(x). That is x - 2 is a factor of f(x).

So we can find

[tex]\frac{2x^3-5x^2+x+2}{x-2}[/tex][tex]\Rightarrow\frac{2x^3-5x^2+x+2}{x-2}=2x^2-x-1[/tex][tex]\text{Next we solve }2x^2-x-1=0[/tex][tex]\begin{gathered} \Rightarrow2x^2-x-1=0 \\ 2x^2+x-2x-1=0 \\ x(2x+1)-1(2x+1)=0 \\ \Rightarrow(x-1)(2x+1)=0 \\ \Rightarrow x-1=0\text{ or 2x+1=0} \\ \Rightarrow x=1\text{ or 2x=-1} \\ x=1\text{ or x =-}\frac{1}{2} \end{gathered}[/tex]

Hence,

[tex]x=2,1,\text{ or -}\frac{1}{2}[/tex]

(4xy³y⁴)(5x²y) expand and simplify

Answers

In this case, we'll have to carry out several steps to find the solution.

Step 01:

Data

(4xy³y⁴)(5x²y)

Step 02:

[tex](4xy^3y^4)(5x^2y)=(4xy^7)(5x^2y)=20x^3y^8^{}[/tex]

This is the solution.

[tex]20x^3y^8^{}[/tex]

if cd = 23.19 and BD=176.8 find BC.Round your answer to the nearest tenth

Answers

we have the following:

[tex]BC=BD-CD[/tex]

replacing:

[tex]\begin{gathered} BC=176.8-23.19 \\ BC=153.61 \end{gathered}[/tex]

Therefore, the answer is 153.61 units

If three angles of a triangle are 2x°, 6x° and x°, find the size of largest angle.​

Answers

Answer:

so the answer is 6x°which is equals to 120°

Step-by-step explanation:

2x°+6x°+x°=180(The sum of the interior angle of the triangle is 180°)

9x°=180°

9x°÷9=180°÷9

x=20°

2x°is equals to 2×20°=40°

6x° is equals to 6×20°=120°

x° is equals to x×20°=20°

Use the diagram to calculate the measure of angle 5

Answers

Answer:

m∠5=22 °

Explanation:

In the diagram:

• Angles 4 and 90 degrees, are ,vertical angles,.

,

• Angles 2 and 68 degrees, are ,vertical angles,.

Since the measure of vertical angles is equal:

[tex]\begin{gathered} m\angle4=90\degree \\ m\angle2=68\degree \end{gathered}[/tex]

In the triangle:

[tex]m\angle2+m\angle4+m\angle5=180\degree\text{ (sum of angles }in\text{ a triangle)}[/tex]

Substitute the measures of angle 2 and 4 obtained earlier:

[tex]\begin{gathered} 90\degree+68\degree+m\angle5=180\degree \\ 158\degree+m\angle5=180\degree \\ Subtract\text{ }158\degree\text{ from both sides of the equation.} \\ m\angle5=180\degree-158\degree \\ m\angle5=22\degree \end{gathered}[/tex]

The measure of angle 5 is 22 degrees.

7 1/3 × 2 2/11 3/5 × 6 2/34 1/5 × 1 1/14

Answers

It is easier to perform the operations if you convert the mixed fractions into improper fractions.

For point 1. Make the mixed fractions improper first

[tex]7\frac{1}{3}=\frac{3\cdot7+1}{3}=\frac{21+1}{3}=\frac{22}{3}[/tex][tex]2\frac{2}{11}=\frac{11\cdot2+2}{11}=\frac{22+2}{11}=\frac{24}{11}[/tex]

Now, the multiplication of fractions is done like this

[tex]\frac{a}{b}\cdot\frac{c}{d}=\frac{a\cdot c}{b\cdot d}[/tex]

Then, you have

[tex]7\frac{1}{3}\cdot2\frac{2}{11}=\frac{22}{3}\cdot\frac{24}{11}=\frac{528}{33}=16[/tex]

For point 2.

[tex]6\frac{2}{3}=\frac{3\cdot6+2}{3}=\frac{18+2}{3}=\frac{20}{3}[/tex]

Now multiplying the improper fractions you have

[tex]\frac{3}{5}\cdot6\frac{2}{3}=\frac{3}{5}\cdot\frac{20}{3}=\frac{60}{15}=4[/tex]

Finally for point 3.

[tex]4\frac{1}{5}=\frac{5\cdot4+1}{5}=\frac{20+1}{5}=\frac{21}{5}[/tex][tex]1\frac{1}{14}=\frac{14\cdot1+1}{14}=\frac{14+1}{14}=\frac{15}{14}[/tex]

Now multiplying the improper fractions you have

[tex]\begin{gathered} 4\frac{1}{5}\cdot1\frac{1}{14}=\frac{21}{5}\cdot\frac{15}{14}=\frac{315}{70}=\frac{35\cdot9}{35\cdot2}=\frac{9}{2} \\ 4\frac{1}{5}\cdot1\frac{1}{14}=\frac{9}{2} \end{gathered}[/tex]

given two circles (all circles are similar) , with circumferences of 30cm and 12cm each, find the ratio of their areas. state answer as fraction.

Answers

The circumference of a circle is given by the following formula

[tex]C=2\pi r[/tex]

where r represents the radius.

The ratio between two circumferences is equal to the ratio of the radius.

[tex]\frac{C_1}{C_2}=\frac{2\pi r_1}{2\pi r_2}=\frac{r_1}{r_2}[/tex]

The area of a circle is given by the following formula

[tex]A=\pi r^2[/tex]

Then, the ratio between two circle areas is equal to the square of the ratio of the radius, which is the square of the ratio between the circumferences.

[tex]\frac{A_1}{A_2}=\frac{\pi r_1^2}{\pi r_2^2}=(\frac{r_1}{r_2})^2=(\frac{C_1}{C_2})^2[/tex]

Then, applying this relation in our problem, the ratio between the areas is:

[tex]\frac{A_1}{A_2}=(\frac{30}{12})^2=\frac{25}{4}[/tex]

The ratio between the areas is 25/4.

use the figure to the right to find the value of PT

Answers

the figure show, the length between P and T and the length between T and Q, are equal.

so we can say PT=TQ

PT= 3x+2 and TQ=5x-6

so we can replace:

3x+2=5x-6

now we solve

2+6=5x-3x

8=2x

8/2=x=4

and finally, to find PT we replace x by 4

PT=3*4+2=14

So the answer is: PT=14

A hoverboard manufacturer has just announced the Glide 5 hoverboard. The accounting department has determined that the cost to manufacturer the Glide 5 hoverboard is y = 42.96x + 32976. The revenue equation is y = 88.76x. What is the break even point for the - Glide 5 hoverboard? The break even point for the Glide 5 hoverboard is​

Answers

The break-even point for the glide 5 hoverboard is 36670.4.

What is the break-even point?In economics, business, and particularly cost accounting, the break-even point is the point at which total cost and total income are equal, or "even." Although opportunity costs have been paid and capital has received the risk-adjusted, projected return, there is no net loss or gain, and one has "broken even."The break-even threshold is reached when overall costs and total revenues are equal, leaving your small firm with no net benefit or loss. In other words, you've achieved the point in production where the revenue from a product equals the cost of manufacture.

Given that:

Cost function: - y = 25.42x + 23452Revenue function: - y = 70.52x

We know that at break-even:

Cost price = Revenue price

Now,

70.52x = 25.42x + 23452

By subtracting "25.42x" from both sides, we get:

70.52x - 25.42x = 25.42x + 23452 - 25.42x45.1x = 23452x = 23452/45.1

Then,

y = 70.5270.52*52036670.4

Therefore, the break-even point for the glide 5 hoverboard is 36670.4.

To learn more about break even point refer to:

brainly.com/question/9212451

#SPJ1


Brookner's Grocery Store sells bars of chocolate in cartons. There are 39 bars of
chocolates in each box. There are 25 boxes in each carton. Last weekend
Brookner's Grocery sold 48 cartons of chocolates. How many bars of chocolate did
the Brookner's Grocery sell last weekend? Explain your thinking.

Answers

48 x 25 = 1,200

1,200 boxes of chocolate

1,200 x 39 = 46,800 bars of chocolate.

Answer is 46,800.


Step - By - Step Explanation:

Multiply the cartons sold with how many boxes are in each carton to find how many boxes was sold.

Multiply the amount of boxes they sold with how much bars is in each box to find the solution.

Reflected over the x-axis , horizontal shrink of 1/2, translated 7 down.

Answers

Given:

Reflected over the x-axis, horizontal shrink of 1/2, translated 7 down.

The parent function is y=|x|.

[tex]\begin{gathered} \text{reflected over x-axis=-f(x)} \\ \text{horizontal shrink=f(}\frac{x}{b}\text{)} \\ \text{translation to the down=f(x)-d} \end{gathered}[/tex]

The function becomes,

[tex]y=-|2x|-7[/tex]

Answer:

[tex]y=-|2x|-7[/tex]

Can someone help me with this?

Answers

x to the zeroth power - 3x +5

Find the sum of integers from 33 to 47:
33+34+...+46
+47

Answers

The sum of integers from 33 to 47 is 600.

What are integers?Zero, a positive natural number, or a negative integer denoted by a minus sign are all examples of integers. The inverse additives of the corresponding positive numbers are the negative numbers. The Z symbol is a common way for mathematicians to refer to an integer set.An integer, pronounced "IN-tuh-jer," is a whole number that can be positive, negative, or zero and is not a fraction. Integer examples include: -5, 1, 5, 8, 97, and 3,043.

So, the sum of integers:

33 - 47

Simply perform addition as follows:

33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47= 600

Therefore, the sum of integers from 33 to 47 is 600.

Know more about integers here:

https://brainly.com/question/17695139

#SPJ13

Together, Katya and Mimi have 480 pennies in their piggy banks. After Katya loses 1/2 of her pennies and Mimi loses 2/3 of her pennies, they have an equal number of pennies left. How many pennies did they lose altogether?

Answers

The number of pennies they lose altogether is 288 pennies.

How to find the number of pennies they lost together?

Together, Katya and Mimi have 480 pennies in their piggy banks.

Therefore, there total amount of pennies is 480.

After Katya loses 1/2 of her pennies and Mimi loses 2/3 of her pennies, they have an equal number of pennies left.

Therefore,

let

x = number of pennies Katya have

y = number of pennies Mimi have

Hence,

x + y = 480

x = 480

Katya pennies left = x - 1 / 2x = 1 / 2x

Mimi pennies left = y - 2 / 3 y = 1 / 3 y

1 / 2 x  = 1 / 3 y

2y = 3x

y = 3  / 2 x

Substitute the value in equation(i)

x + 3 / 2 x  = 480

2.5x = 480

x = 480 / 2.5

x = 192

Therefore,

192 + y = 480

y = 480 - 192

y = 288

The number of pennies they loose can be calculated as follows;

Katya losses = 1 / 2 × 192 = 96Mimi losses = 2 / 3 × 288  = 192

Therefore, they lost 96 + 192 = 288 pennies altogether.

learn more on pennies here: https://brainly.com/question/11485510

#SPJ1

Question 5 of 8
What is the largest proper fraction less than 1 that can be made by using these
numbers only once: 1, 3, 6, 11 and 12?

Answers

The largest proper fraction that can be formed is 16/17

What is a fraction?

A fraction (from the Latin fractus, "broken") is a portion of a whole or, more broadly, any number of equal pieces. In ordinary English, a fraction represents the number of pieces of a specific size, such as one-half, eight-fifths, or three-quarters. A common, vulgar, or simple fraction has a numerator above a line (or before a slash like 12) and a non-zero denominator below (or after) that line. Numerators and denominators are also employed in uncommon fractions such as compound fractions, complex fractions, and mixed numerals.

The largest proper fraction that can be formed is

= 1+3+12/11+6 = 16/17

To know more about fractions, click on the link

https://brainly.com/question/1622425

#SPJ9

48.001 to the hundredths

Answers

Since we want to express 48.001 to the hundredths, let's look at the places of the digits after the decimal point:

Therefore, 48.001 to the hundredths is 48.00

Justin and poor friends are going to a movie each person buys a movie ticket that costs one 50 less than the square of $3 of the friends bought a bag of popcorn and a small soda that cost $2.25 more than the score of $2 right expression that can be used to find the total amount that Justin is trying to at the movies

Answers

Answer:

4(3² - 1.5) + 3(2² + 2.25)

Explanation:

First, they buy 4 tickets that cost $1.50 less than the square of $3. So, we can express that as follows:

4 x (3² - 1.5)

Then, they buy 3 bags of popcorn and a small soda that cost $2.25 more than the square of $2, so the expression for this is:

3 x (2² + 2.25)

Therefore, the numerical expression that can be used to find the total amount is the sum of the expression above:

4 x (3² - 1.5) + 3 x (2² + 2.25)

4(3² - 1.5) + 3(2² + 2.25)

So, the answer is:

4(3² - 1.5) + 3(2² + 2.25)

Given Z VYX is bisected by YW, mZ VYX =(6r-18), and m2 VYW = 36. What is the value of r? A. 15 B. 30 C. 36 D. 72

Answers

A) 15

1) Let's sketch that

According to the Bisector Theorem, the bisected line equally divides the angle. So we can write:

∠VYW≅∠WYX

And:

6r-18 = 36+36

6r -18 = 72

6r= 90

r= 15

15÷6%=
A. 1004
B. 100
C. 24
D. 24

Answers

none it would be 250

Hi there, I need help with this question. Thank you in advance!

Answers

For the data given, we have 24 entries in all.

They are :

75, 36, 80, 49, 24, 61, 34, 39, 30, 76, 44, 44, 40, 35, 21, 89, 34, 70, 79, 65, 66, 53, 99, 11

(1) Minimum refers to the lowest data in the table. we can see out of all the data in the table, the lowest is 11. Therefore,

Min = 11

(2) Maximum refers to the highest data in the table.

The highest is 99.

Therefore,

Max = 99

(3) Range is defined as highest data minus lowest data

Range = 99 - 11

Range = 88

(4) Mean:

[tex]\begin{gathered} \text{ Mean =}\frac{\text{ sum of the data}}{total\text{ count}} \\ \operatorname{mean}\text{ = }\frac{75+36+80+49+24+61+34+39+30+76+44+44+40+35+21+89+34+70+79+65+66+53+99+11}{24} \\ \\ \text{Mean = }\frac{1254}{24} \\ =52.25 \end{gathered}[/tex]

Therefore,

Mean = 52.25

(5) Standard deviation:

The steps to calculate the standard deviation in shown in the picture below.

The standard deviation = 22.8386..

To 2 decimal places, we have 22.84

Therefore,

Standard deviation = 22.84

3
y + yz + z + y use y = -2, and z = 6

Answers

Answer is -14

Step by step

3y + yz + z + y

Use y= -2 and z = 6
Substitute values for y and z

3(-2) + (-2*6) + 6 + (-2)
Multiply first per PEMDAS rule

-6 + (-12) + 6 + (-2)
Add and subtract

= -14

Other Questions
im not sure ols help Describe the three ways to use evidence in your writing. Fungi exist as single cells or as branching networks of multicellular filamentswith a very large surface area. What is the function of the filaments?A. ReproductionB. Nutrient absorptionC. Energy productionD. Photosynthesis Which equation is equivalent to - 2x + 5 - 3x = 5x + 25?A. -5 = -30B. -6x + 5 = 5x + 25C. - 10x = 20D. 20x - 5 = 25 An equation is incorrectly solved below.Equation: 2x+3=-4step 1: 2x+3-3=-4-3step 2: 2x=-1step 3: 2x/2=-1/2step 4: x=-1/2What is the first step that shows an error in the solution of the Equation? A. Step 1B. Step 2C. Step 3D. Step 4 Hi dear how do I get to know you and Uranium-238 is an unstable nuclide that emits an alpha particle, three neutrons, and gamma particles. A = 231 and Z = 90. What daughter nuclide is formed from this reaction? A) Ra B) Th C) Pu D) Fr Suppose that the edge lengths x, y, z of a closed rectangular box are changing at the following rates: dx/dt= 1m/s, dy/dt= -2 m/s, and dz/dt= 0.5 m/s. At the instant x= 2m, y= 3m, z= 5m, find the rates of change:a) volume of the boxb) surface area of the boxc) diagonal of the box Given the frequency table, what percentage of the students that like rap are also in grades 910? Round to the nearest whole percent. A. 16%B. 38%C. 40% Jan is looking at a mapof Roaring River. The map wascreated using the scale 1 inch :25 miles. If the river is 5.5inches long on the map, then itis actuallymiles long. Which graphic would be the best choice for describing a series of events?Select the correct answer.O photographO timelineO illustrationO graph help pleasee! willgive brainliest +80 pts Drag the curve to the correct location on the graph. A small museum opened in 2004 with 80 pieces of art in its collection. In 2005, the number of pieces of art in the collection was 1.2 times the initial number of pieces of art. Then, in 2006, the number of pieces of art in the collection was 1.2 times the size of the previous year's collection. The directors of the museum plan to continue acquiring pieces of art at the same rate. Complete the graph of this relationship. 1207 ces of Art f(x) 3001 240 180 120 mr. thomas has brought in couches, chairs, rugs, plants, and curtains for his second-grade classroom. which element of a productive classroom is mr. thomas providing? Write a class to represent a CookOut. The class should have the following: Class variables to represent the number of people at the cookout and how many hot dogs eachperson gets ( a person CANNOT get a partial hot dog) There are 10 hot dogs in a package and 8 buns per package. These values CAN NOT change.Include class variables to represent these. A multi-argument constructor that accepts 2 integers and initializes class variables Appropriate getters and setters To toString method that prints out a message stating how many people were at the cookout andhow many packages of hotdogs and buns were needed. A method, calculateDogsRequired, that calculates and returns how many hot dog packages arerequited. A method, calculateBunsRequired, that calculates and returns how many packages of buns arerequired A method, leftOverDogs, that calculates and displays the number of leftover hot dogs there willbe A method, leftOverBuns, that calculates and returns the number of leftover buns there will beThere may be some methods in the Math class that can help with calculations/rounding properly! Usethe APIWrite a class, CookOutTester. In the main method, prompt the user for how many people are attendingthe cookout and how many hot dogs they each get. Then print out a description of the cookout and howmany leftover hot dogs and buns there will be using appropriate methods from the CookOut class. Alsoprint out the cost for everything if a package of hot dogs is $7.43 and a package of buns is $3.12.Round all money to 2 decimal places and remember to include comments!Sample Output:Enter the number of people:43Enter the number of hot dogs each person gets:3There are 43 at the cookout and every one gets 3. We need 13 package of hot dogs and17 packages of bunsThere will be 7 buns leftoverThere will be 1 hot dogs leftoverIt will cost $96.59 for the hot dogsIt will cost $53.04 for the buns given q= 10^-6 c, v= (3i + 4j )m/(s) , b=1i tesla find magnetic force Two different signs that indicate a chemical action has occurred. What time is showing in the picture on the left what sign is showing on the picture in the right? Help please I will give brainliest A. The measure of the angle can not be determined B. 70 degreesC. 110 degreesD. 180 degrees essay on the topic innovative methods of learning in 1000 words