Rewrite the following equation in slope-intercept form. 14x − y = –15

Answers

Answer 1

y = 14x + 15 would be the slope-intercept form


Related Questions

help!
is this correct?

Answers

Answer:3/4

Step-by-step explanation:

1/4 multiplied 3/1 =3/4

How do you find the area of a triangle with 3 vectors?

Answers

The  area of the triangle is equal to: Area = (|A| x |B| x sin(θ))/2

To calculate the area of a triangle with 3 vectors, we will use the vector triple product formula. This formula states that the area of the triangle is equal to the magnitude of the cross product of two of the vectors divided by two.

Let's say we have three vectors A, B, and C. The area of the triangle is then equal to the magnitude of the cross product of vector A and B, divided by two.

The magnitude of the cross product of A and B can be calculated as follows:

Magnitude of (A x B) = |A| x |B| x sin(θ)

Where |A| and |B| are the magnitudes of vectors A and B, and θ is the angle between them.

Therefore, the area of the triangle is equal to:

Area = (|A| x |B| x sin(θ))/2

Learn more about area of the triangle here:

https://brainly.com/question/19305981

#SPJ4

What does an r value of 0.3 mean?

Answers

Low positive correlation :)

28. From the four numbers below, Maria chose one number. The number is even and none of its digits are the same. The hundreds digit is triple the ones digit. The tens digit is greater than the thousands digit. Which number did Maria choose? A. 3672 B. 4983 C. 2682 D. 8462​

Answers

Answer:

Maria chose C. 2682

Step-by-step explanation:

Calculate the area of the quadrilateral.

Answers

I’m gonna guess 20 units

. Which ordered pairs in the form (x, y) are solutions to the equation 7x – 5y = 28?
Choose all answers that are correct.
A. (−6, −14)
B. (−1, −7)
C. (4, 10)
D. (7, 9)

Answers

Answer:

A and B

Step-by-step explanation:

to determine which pairs are solutions , substitute the x and y coordinates into the left side of the equation and if equal to the right side then solution.

A (- 6, - 14 )

7(- 6) - 5(- 14) = - 42 + 70 = 28 ← true , so solution

B (- 1, - 7 )

7(- 1) - 5(- 7) = - 7 + 35 = 28 ← true , so solution

C (4, 10 )

7(4) - 5(10) = 28 - 50 = - 22 ≠ 28 , not a solution

D (7, 9 )

7(7) - 5(9) = 49 - 45 = 4 ≠ 28 , not a solution

(4n^4-7n^3-29n^2-29n+4)/(n-4) Synthetic Division

Answers

Answer:1111

Step-by-step explanation:

11111

Find the coordiantes of the vertices for the figure after the given transformation
Dilation of 0.25.

Answers

Answer:

[tex]I'(-0.5,0.25), J'(0.5,0.5), K'(0.5, -0.25)[/tex]

Step-by-step explanation:

Assuming the dilation is centered at the origin, we can use the rule that:

For a dilation of scale factor [tex]k[/tex] centered at the origin, [tex](x,y) \to (kx,ky)[/tex]

How do you find the pattern rule of a sequence?

Answers

An example of a pattern rule is "add 3" which means that to find the next term in a sequence, you add 3 to the previous term.

To write a rule for a sequence, you need to identify the pattern. This involves looking at the differences between the numbers and seeing if there is a pattern of increasing or decreasing numbers. Once you have identified the pattern, you can then write a rule that expresses that pattern.

Examples of pattern sequences include the Fibonacci sequence (1,1,2,3,5,8,13,21,34, etc.), the even numbers (2,4,6,8,10, etc.), and the multiples of 3 (3,6,9,12,15, etc.).

To describe the pattern of a sequence, you need to look at the differences between the numbers and the pattern of increases or decreases. For example, in the Fibonacci sequence, the pattern is that each number is the sum of the two numbers before it so 1+1=2, 1+2=3, 2+3=5, etc.

Learn more about the pattern rule:

brainly.com/question/14470649

#SPJ4

how much does the job pay in a 8hour day if they have 5 employees working $25 a hr

Answers

Answer:

1000$

Step-by-step explanation:

1000$

HELP MEEEEEEEEE PLEASEEE

Answers

The coordinates of the points after the translation are:

Q'  = (5, 4)R'  = (6, 1)

What are the coordinates of Q' and R'?

All the points are translated on the same way, so let's analyze the translation of P to P'.

The coordinates of Pare (5, 8), and P' is at (3, 4)

Then the translation is:

(3, 4) - (5, 8) = (3 - 5, 4 - 8) = (-2, -4)

So we just need to subtract 2 to the x-value and 4 to the y-value.

The coordinates of Q and R are:

Q = (7, 8)

R = (8, 5)

Then the translated points are:

Q' = (7 - 2,8 - 4) = (5, 4)

R' = (8 - 2, 5 - 4) = (6, 1)

Learn more about translations at:

https://brainly.com/question/24850937

#SPJ1

Part A
Melissa is planning a rectangular vegetable garden with a square patch for tomatoes. She wants the length of the garden to exceed three times the length of the tomato patch by 2 feet. She also wants the garden’s width to exceed the width of the tomato patch by 5 feet.

Let x represent the length, in feet, of the square tomato patch.

Write expressions to represent the length and width of Melissa’s vegetable garden in terms of x.

Enter the correct answer in the box.
y = ____

Answers

The length of the vegetable garden as a function of its length will be given as: y = 3x + 2

What is the expressions to represent the length and width of Melissa’s vegetable garden in terms of x?

The expression of the garden width in terms of the width of the tomato patch is given as:

y = x + 5

Let the length of the garden be y

Let the length of the tomato patch be x

If Melissa wants the length of  the garden to exceed three times the length of the tomato patch by 2 feet, the length of the vegetable garden as a function of its length will be given as:

y = 3x + 2

Therefore, If she also wants the garden's width  to exceed the width of the tomato patch by 5 feet,  the expression of the garden width in terms of the width of the tomato patch is given as:

y = x + 5

Learn more about an expression on https://brainly.com/question/14083225

#SPJ1

What is the formula of area and perimeter of triangle?

Answers

Answer: area: 1/2 length * width, perimeter: add the three sides

Step-by-step explanation:

Find the coordinates of the vertices of the figure after the given transformation.

Dilation of 0.25

Answers

Answer:

Option 3

Step-by-step explanation:

Assuming the dilation is centered at the origin, it is known that for a dilation of scale factor [tex]k[/tex] centered at the origin, [tex](x,y) \to (kx,ky)[/tex].

After dilation of with a scale factor of 0.25 the pre image coordinates

V (1,  1), W (2, -2) T ( 4, 2) and U(3, 3) transformed to

V' (0.25, 0.25)

W' (0.5, -0.5)

T' (1, 0.5)

U' (0.75, 0.75)

How to find the coordinates after dilation

Dilation is a method of transformation that magnify or shrink the preimage depending on the scale factor

In dilation, transformation rule is as follows

(x, y) for a scale factor of r → (rx, ry)

following similar the rule for r = 0.25 we have

preimage                                       image

V (1,  1)   → (0.25 * 1, 0.25 * 1)  →   V' (0.25, 0.25)

W (2, 2)   → (0.25 * 2, 0.25 * -2) →  W' (0.5, -0.5)

T (4, 2)   → (0.25 * 4, 0.25 * 2) →   T' (1, 0.5)

U (3, 3)   → (0.25 * 3, 0.25 * 3) →   U' (0.75, 0.75)

Learn more about transformation here:

https://brainly.com/question/29329662

#SPJ1

URGENT! Write an expression that represents the volume of the nth chamber. Explain your reasoning.

Answers

The volume of the chamber follows a pattern. The formula that represents the volume of the nth chamber is 6.3% of the previous chamber.

What is a pattern?

A pattern is a repeated arrangement of numbers, shapes, colours, or other elements. The Pattern can be associated with any kind of event or object. A pattern is defined as a set of numbers that are related to one another in a specific way. Patterns are sometimes referred to as sequences.

Given that:

Chamber 7: 1.207 cm³

Chamber 6: 1.135 cm³

Chamber 5: 1.068 cm³

Chamber 4: 1.005 cm³

Chamber 3: 0.945 cm³

Chamber 2: 0.889 cm³

Chamber 2: 0.836 cm³

                          1.207     1.135     1.068   1.005     0.945      0.889      0.836

First difference:        .072        0.067    0.063   0.060    0.056      0.053

Second difference:            0.005     0.004    0.003     0.004    0.003

Since the difference is not the same, thus the volume is not in a linear pattern. Then find the ratio consecutive volume:

1.207/1.135 ≈ 1.063

1.135/1.068 ≈ 1.063

1.068/1.005 ≈ 1.063

1.005/0.945 ≈ 1.063

0.945/0.889 ≈ 1.063

0.889/0.836 ≈ 1.063

Each chamber is 6.3% greater than the previous chamber. The pattern is exponential functions.

To learn more about patterns, click on the below link:

https://brainly.com/question/30291850

#SPJ1

What is the degree of the polynomial 2x2?

Answers

In this case, the highest power on any variable is 2. As a result, the degree of polynomial is 2.

What is degree of the polynomial?

The degree of a polynomial in mathematics is the highest of the degrees of the polynomial's monomials with non-zero coefficients. A term's degree is the sum of the exponents of the variables in it, and it is thus a non-negative integer. The degree of a polynomial is the greatest or maximum power of a variable in a polynomial equation. A degree represents the polynomial with the greatest exponential power. Finding the degree of a polynomial. 2 x 2 + 2 x - 364 = 0. The maximum degree of the polynomial in the preceding equation.

Here,

Given : 2x^2

Degree of polynomial = Highest power of a variable.

Here, 2 is the highest power on any variable. So, degree of polynomial is 2.

To know degree of the polynomial,

https://brainly.com/question/29182596

#SPJ4

PLEASE HELP FIND X
1/2 (2x - 4) + 2 = 4(x + 2) - 11

Answers

Here’s step by step work:

PLEASE!!!! I NEED HELP WITH MY HOMEWORK!!!!!!
(GEOMETRY)!!!

Answers

Answer:N= 10 fo sho m -14 maybe

Step-by-step explanation:

this triangle is an isosceles triangle because of the 90 45 45 angles. This means that the two side lengths are equal and 10 is equal to n. to calculate m is maybe square root of 2 times 10 because this image.

Original function: F= 9/5​C+32



Inverse function: C=F−32·5/9



Suppose we want to find the temperature in Celsius when it is 10 degrees Fahrenheit and when it is 90 degrees Fahrenheit. Which equation would you use? Why?

Answers

The inverse function is used to find the temperature in Celsius,

the temperature in celsius is  -12.22°C and 32.22°C.

What is an expression?

Mathematical expressions consist of at least two numbers or variables, at least one arithmetic operation, and a statement. It's possible to multiply, divide, add, or subtract with this mathematical operation. An expression's structure is as follows:

Expression: (Math Operator, Number/Variable, Math Operator).

Given expression for temperature calculation

Original function: F =  9/5​C + 32

Inverse function: C = (F − 32)5/9

where C is temp. in Celsius and F is temp. in Fahrenheit,

so when the temperature is given in Fahrenheit we have to use the inverse function formula to calculate the temperature in degree celsius,

because it will be easy to calculate.

temperature = 10°F

C = (F − 32)5/9

C = (10 - 32)5/9

C = -22 x 5/9

C =  -12.22°C

when temperature = 90°F

C = (90 - 32)5/9

C = 32.22°C

Hence the temperature is  -12.22°C and 32.22°C.

Learn more about expression;

brainly.com/question/14083225

#SPJ1

In the figure, mGE=99∘, and mHF=41°.

What is m∠GPE?
m∠GPE =
°

Answers

The angle when the secant intersect is as follows:

m ∠GPE = 29 degrees

How to find the angles formed by intersecting secant?

A secant is a line that intersects a circle in exactly two points.

If two secants or chords intersect in the interior of a circle, then the measure of each angle formed is half the sum of the measures of its intercepted arcs.

Therefore,

m ∠GPE = 1 / 2 ( mGE -  mHF)

mGE = 99°

mHF = 41°

m ∠GPE = 1 / 2 (99 - 41)

m ∠GPE = 1 / 2 (58)

Therefore,

m ∠GPE = 29 degrees

learn more on secant here: https://brainly.com/question/23026602

#SPJ1

Balance the following equation: CCl4 --> C + Cl2

Answers

The balanced equation is:

CCl₄ --> C + 2Cl₂

Define term term balancing of chemical equation?

The law of conservation of mass states that when a chemical reaction takes place, the mass of the reactants and products should be equal.

As a result, during the chemical process, the number of atoms for each element remains constant. The chemical equation which it depicts the chemical reaction must be balanced as a result. When the total number of atoms found in the reactants and products sides of a chemical equation equals one, the equation is said to be balanced.

Here is an equation that describes a chemical reaction:

CCl₄ --> C + 2Cl₂

Reactant =  1 atom of C and 4 atoms of Cl.Product = 1 atom of C and 2 atoms of Cl.

Thus, add 2 atoms of Cl to balance the equation.

Then,

The balanced equation is:

CCl₄ --> C + 2Cl₂

To know more about the balancing of chemical equation, here

https://brainly.com/question/11904811

#SPJ1

I need help on yo expand and simplify

Answers

After simplification, the formula 4 (2x - 1) + 3 (2x + 5) becomes 14x + 11.

How does expanded form work?

A number's arithmetic value for each digit can be expressed using the expanding form. Expanded numbers are numerical expressions that consist of the place value of each digit added to the total of the digits. To improve place value comprehension, expanded form is an excellent strategy.

It is given that,

4 (2x - 1) + 3 (2x + 5)

We have to expand and simplify the expression,

= 4 (2x - 1) + 3 (2x + 5)

Multiply the term out of the bracket into the bracket as

= 8x - 4 + 6x + 15

Add comparable terms together so that we can execute mathematical operations like addition and subtraction on the result.

= 14x + 11

As a result, the simplified expression for 4 (2x - 1) + 3 (2x + 5) will be 14x + 11.

To  learn more about place value, refer to:

https://brainly.com/question/569339

#SPJ1

Marsha and Kristen are scuba diving. Marsha is at an elevation of -24 feet, and she is descending at a rate of 12 feet per minute. Kristen is at an elevation of -8 feet and she is descending at a rate of 16 feet each minute. The variable t represents the time in minutes.After how many minutes will Marsha and Kristen be at the same elevation? At what elevation will they be at that time?

Answers

Marsha and Kristen will be at the same elevation of -72 feet after 4 minutes.

How to find their elevation?

To find out after how many minutes Marsha and Kristen will be at the same elevation, we can set their elevation equations equal to each other:

-24 - 12t = -8 - 16t

Then, we can solve for t by adding 8 to both sides and dividing by 4:

t = 4

So, Marsha and Kristen will be at the same elevation after 4 minutes.

To find out what elevation they will be at that time, we can substitute 4 into either one of the elevation equations and solve for the elevation:

-24 - 12(4) = -24 - 48 = -72

So, Marsha and Kristen will be at the same elevation of -72 feet after 4 minutes.

Read more about elevation here:

https://brainly.com/question/88158

#SPJ1

On a standardized test with a normal distribution, the mean
is 20 and the standard deviation is 2.6. In which interval
would the greatest number of scores occur?

Answers

Answer: The interval in which the greatest number of scores would occur is between (20 - 2.6) and (20 + 2.6), which is approximately 17.4 and 22.6 respectively. This interval is also known as the "bell curve" or the "normal distribution curve" and it is centered at the mean (20) and covers approximately 68% of all possible scores. Most of the data points would fall within one standard deviation of the mean, hence the greatest number of scores would occur in this interval.

Step-by-step explanation:

For the given equation, find the values of a, b, and c, determine the direction in which the parabola opens, and determine the y-intercept. Decide which table best illustrates these values for the equation: f (x) = negative 9 x squared + 7 x.

Answers

Examining the function  -9x² + 7x the parabolic curve is opening downwards and the y intercept is 7/9 and 0

Where to look for the y intercepts

The sign of the x2 coefficient determines whether a parabolic curve opens upward or downward in this scenario.

In this function, the coefficient of x2 is a and is -9.

Rising downwards results from a negative coefficient, while opening upwards from a positive coefficient

The intercept of y

-9x² + 7x = 0

x(-9x + 7) = 0

x = 0

-9x + 7 = 0

-9x = -7

x = 7/9

Therfore, Examining the function  -9x² + 7x ,  0 and 7/9 is the y intercept.

Learn more on quadratic equation at:

brainly.com/question/25841119

#SPJ4

Jordan plotted the graph below to show the relationship between the temperature of his city and the number of cups of hot chocolate he sold daily.

Part A: In your own words, describe the relationship between the temperature the city and the number cups hot chocolate sold.

Part B: Describe how you can make the line of best fit. Write the approximate slope and y-intercept the line best fit. Show your work, including the points that you use to calculate the slope and y-intercept

Answers

Every 10 degrees higher in temperature, the slope would be around -3 so draw a line from (40,20) to (80,8) .

what is slope ?

How steep a line is defined by its slope. Gradient overflow is a term used to describe a gradient-based mathematical equation (the change in y divided by the change in x). The slope is calculated by dividing the horizontal change (run) between two points by the vertical change (rise) between the same two points. The slope-intercept form of an equation is used to express the equation of a straight line, which is written as y = mx + b. The line's y-intercept is situated where the slope is m, b is b, and (0, b). For instance, the slope and y-intercept of the equation y = 3x - 7 (0, 7).

givenI won't use (40,2) because it is an extreme case.

If I were to draw a line from those points, I would roughly estimate that it would have the same number of dots above and below the line, indicating that it is a line of best fit.

Every 10 degrees higher in temperature, the slope would be around -3 so draw a line from (40,20) to (80,8) .

To know more about slope visit:

https://brainly.com/question/3605446

#SPJ1

what are the excluded factors of 2/x+3

Answers

Answer:

x=3

Step-by-step explanation:

An equation's omitted factors are the values of x for which the result is unknown. This indicates that if the denominator or x(x-3) equals 0, your solution is undefined.

Set up this equation and solve for the potential possibilities of x to find these numbers: x(x-3)=0

Divide both sides by (x-3) to find one of the values:

x(x-3)/(x-3)=0(x-3)

Because (x-3) cancels on the left side of the equation and everything divided by 0 is zero on the right, you should get: x=0.

Now that you've determined one of the excluded values, work out the other:

To begin, split both sides by x:

x(x-3)=0

x-3=0

Finally, multiply both sides by -3 to get: x=3

Question 1 (Multiple Choice Worth 1 points)
(03.01 MC)
Simplify √5 (8+3√6).
8√5 +3√30
O 5√10
130
O√40+15√6

Answers

So, the answer after simplifying the given square root equation is 8√5 + 3√30.

Define square.

A square has four equal sides, and four vertices, and is a closed, two-dimensional object. It has parallel sides on either side. A square is also equivalent to a rectangle with equal length and width.

What are vertices?

A vertex is a location in geometry where two or more curves, lines, or edges converge. As a result of this definition, vertices are the intersection of two lines that create an angle as well as the corners of polygons and polyhedra.

Solving,

√5 (8+3√6)

= √5 * 8 + √5 * 3√6

= 8 * √5 + √5 * 3√6

= 8√5 + 3√5*6

= 8√5 + 3√30

To know more about simplification visit:

https://brainly.com/question/2804192

#SPJ1

Select all the tranformation that apply to thi quadratic function:

y=1/3(x2)24

Answers

The transformations that apply are Horizontal stretch or compression by a factor of 3, Vertical shift up by 24 units, Reflection over the x-axis, The leading coefficient of 1/3 is a vertical compression and The exponent of 2 on x is a parabola.

Vertical Stretch/Compression by a factor of 3: The coefficient in front of the x^2 term is 1/3, which stretches or compresses the graph vertically by a factor of 3.

Horizontal Stretch/Compression by a factor of 24: The exponent on the x term is 24, which stretches or compresses the graph horizontally by a factor of 24.

Reflect over the x-axis: The coefficient in front of the x^2 term is positive, so the graph is reflected over the x-axis.

Shift up or down: The constant term is not present, so the graph does not shift up or down.

Shift left or right: The constant term is not present, so the graph does not shift left or right.

Rotation: The graph does not rotate as it is a parabola in the standard form y=ax^2 + bx + c, it does not have any trigonometric function in it.

Therefore, The transformations that apply are Horizontal stretch or compression by a factor of 3, Vertical shift up by 24 units, Reflection over the x-axis, The leading coefficient of 1/3 is a vertical compression and The exponent of 2 on x is a parabola.

To learn more about the transformation of equations,

Visit; brainly.com/question/29159889

#SPJ4

Evaluate the expression: 5 + 3 × (5 - 2) 2

32
72
36
16

Answers

I swear it was 23??im pretty sure it was.
Other Questions
identify the compound with ionic bonding. a. h2 b. ch4 c. rbf d. h2o e. co2 True/False: when a data flow diagram (dfd) is exploded, the lower-level diagram is referred to as the parent diagram. T/F Symmetric Confidence intervals are used to draw conclusions about two-sided hypothesis tests. use the ppfs shown for the united states and india. with specialization and trade, the united states would produce ________, and india would produce _________. Is it possible for a nonhomogeneous system of seven equations in six unknowns to have a unique solution for some right-hand side of constants? Is it possible for such a system to have a unique solution for every right- hand side? Explain. an exchange system which has occasional government intervention is a Lots of things require balance: riding a bike, walking a balance beam, jumping rope. Losing balance can cause us to get hurt. The same is true for living things. Plants and animals must maintain an internal balance to stay healthy. Living things have internal communication systems that help to keep things in homeostasis or balance. A stimulus is any change in an organisms environment that causes the organism to react. The change can be internal or external. For example, when you get hot, you move to the shade. The heat is an external stimulus and moving to the response is the response you make to cool off or come back to homeostasis. If you get hungry, you eat a snack. The hunger is an internal stimulus. Eating a snack is your response.Which of these is a response to an external stimuli? Select ALL that apply.A.) hibernationB.) phototropismC.) wiltingD.) thirstE.) dormancy Consider a transfer function H (W) = 1+j2 where wo =660 wo rad/sec. Calculate the frequency in Hertz at which the phase of the transfer function is -45 degrees. which of the following terms is a hardened computer specifically designed to resist and oppose illicit or unwated attempts at entry How many units must be sold if contribution margin is 20, fixed costs are $5,000 and profits are $25,000? O 10,500 units O 1,500 units 2,000 units 0 2,500 units Part A Calcium oxide reacts with water in a combination reaction to produce calcium hydroxide: CaO (s) + H2O (1) + Ca(OH)2 (s) In a particular experiment, a 3.50-g sample of CaO is reacted with excess water and 4.12 g of Ca(OH)2 is recovered. What is the percent yield in this experiment? 1.18 84.9 5.04 89.2 118 Submit Request Answer You will need to know that Force (N) is equal to mass (kg) multiplied by acceleration (m/s2) for this problem. A fearless space explorer has discovered a new planet with a frictionless surface! He pushes a large crate with a mass of 220kg a distance of 5.3 km, as he does so, it accelerates at a rate of 2m/s2. How much work has our intrepid hero done? Select all of the options that correspond to possible bootstrap samples from the following sample values: -8, -3, 13, 2, 15 -3,-8, 13, 2, 2 0 -3, 13, -8, -8,-3, 31, 14, -2 -8, -8, -8,-8, -8 15, 2, 15, 2, -3 koepka corp. has a project with the following cash flows: yearcash flow 0 $35,400 1 26,600 2 29,400 reentrant code is easier to share when paging is used, because generally if a firm becomes less risky, its share price will An SRS of 16 items is taken from Population 1 and yields an average = 253 and standard deviation s1 = 32. An SRS of 20 items is taken (independently of the first sample) from Population 2 and yields an average = 248 and a standard deviation s2 = 36. Assuming the two populations have the same variance 2 and the pooled variance estimator of 2 is used, the standard error of is: use c++ please and do not get some wrong code for meIntroductionIn this lab you will practice using basic input/output, structs, and arrays of structs. Be sure to read this lab thoroughly, especiallythe sections of Collaboration and the Hand-in Procedure.CollaborationCollaboration amongst students is allowed to the extent outlined in the syllabus. That being the case, the goal of theseassignments is not to share code, but to learn the tools you need to succeed as a computer scientist. Students are expected towrite their own code free of plagiarism from any other student past or current. All assignments will be cross referenced acrossall sections of CS135 using the Measure Of Software Similarity (Moss) to automatically determine the similarity of programs.Refer to the syllabus for further details and consequences of breaking this policy.LabTo start your lab you will need a struct to read data into. The struct definition should be placed above main() and belowusing namespace std. The struct should be called PurchaseType and contain the following fields:1. string customerID2. string productName3. double price4. int qtyPurchased5. double taxRateWrite a complete program that:1. Uses a user defined function:void openFile(ifstream& iFile, string prompt)Which gets the name of a file from the user and opens it into iFile by:a. Prompting the user for a filename using prompt and reading the filename into a string.b. Opening the file name obtained in (1a) into iFile, and verifying that it opened. If the file does not open theprogram should output an error message and continue from (1a) until a valid file name is entered. See theexample output for error formatting.i. The file contains strings, integers, and doubles with 5 values per line with 10 lines of data in the file.Each line of data represents a different item purchased by a customer.2. Creates an array of instances of the PurchaseType struct to hold the data from the file obtained in (1).3. Uses a user defined function:void readFile(ifstream& iFile, PurchaseType purchases[])Which reads the data from iFile into purchases by:a. iFile contains rows of data which correspond to the elements of the PurchaseType struct. Iterate throughiFile inserting the rows of data, using str.find() str.substr(), into purchases until eof is hit.(More steps on next page)4. Uses a user defined function:void printPurchaseData(PurchaseType purchases[], int size)Which prints the data contained in purchases by:a. Using iomanip to nicely output all the data in a tabular format. You will need to calculate the total price foreach product purchased by multiplying the price of each product by the quantity purchased, and thenmultiplying by the (tax rate + 1). See the example output for formatting.b. Keeping track of each total found and outputting the average total at the end of the table.c. Keeping track of the count of unique customers and outputting the total unique customers at the end of thetable.main() should only contain variable declarations and function calls (to your user-defined functions). All data must be readinto an array of PurchaseType structs first, then the required output. You must write all of the functions in this lab, failing todo so will result in you receiving a 0 for this lab. Failure to use an array of structs will also result in a 0 for this lab. Seethe example output for examples and formatting.Prototypes for your user defined functions are:1. void openFile(ifstream&, string);2. void readFile(ifstream&, PurchaseType[]);3. void printPurchaseData(PurchaseType[], int);Example OutputAn example of an interaction with your program is shown below, your output should match these examples exactly. (The wordsprinted in blue are from the computer, based on your commands, the words in red are user input. Note: these colors are simplyhere to distinguish components and not needed in your program.):Alexs-iMac:lab11b alex$ g++ -Wall -pedantic -Werror main.cppAlexs-iMac:lab11b alex$ ./a.outEnter file name**errorError: Invalid FileEnter file name**purchases1.csv+-------------+--------------+-------+----------+----------+-------+| Customer ID | Product Name | Price | Quantity | Tax Rate | Total |+-------------+--------------+-------+----------+----------+-------+| A134CX2 | shirt | 10.00 | 1 | 8.25 | 10.82 || A134CX2 | pants | 15.95 | 2 | 8.25 | 34.53 || A134CX2 | jacket | 24.49 | 1 | 8.25 | 26.51 || 4J37I2I | blouse | 19.99 | 1 | 8.25 | 21.64 || 4J37I2I | pants | 14.98 | 1 | 8.25 | 16.22 || 4J37I2I | mittens | 9.99 | 3 | 8.25 | 32.44 || 4J37I2I | socks | 10.98 | 3 | 8.25 | 35.66 || B834621 | gloves | 9.99 | 2 | 7.15 | 21.41 || B834621 | cap | 24.99 | 3 | 7.15 | 80.33 || 27G8ZZY | earrings | 49.99 | 1 | 8.25 | 54.11 |+-------------+--------------+-------+----------+----------+-------+Unique users: 4Average total: $33.37 question 17with respect to the progression of shin-byung, which of the following actions by the patient would best demonstrate high self-efficacy? TRUE/FALSE.Disparate-treatment discrimination occurs when a protected group of people is adversely affected by an employers practices, procedures, or tests even though they do not appear to be discriminatory.