Step-by-step explanation:
I assume
SR = 2x + 23
RQ = x + 21
if that is true, then the situation is completely simple :
14 = (2x + 23) + (x + 21) = 3x + 44
3x = -30
x = -10
SR = 2×-10 + 23 = -20 + 23 = 3
RQ = -10 + 21 = 11
Answer:
The least squares method results in values of the y-intercept and the slope, that minimizes the sum of the squared deviations between the observed (actual) value and the fitted value.
Step-by-step explanation:
The method of least squares works under these assumptions
- The best fit for a data collection is a function (sometimes called curve).
- This function, is such that allows the minimal sum of difference between each observation and the expected value.
- The expected values are calculated using the fitting function.
- The difference between the observation, and the expecte value is know as least square error.
The problem is asking how much each person will need to pay. Simplifying the problem into an equation with variables (an algorithm) will greatly help you solve it:
S = Sales Tax = $ 7.18 per any purchase
A = Admission Ticket = $ 22.50 entry price for one person (no tax applied)
F = Food = $ 35.50 purchases for two people
We know the cost for one person was: (22.50) + [(35.50/2) + 7.18] =
$ 47.43 per person. Now we can check each method and see which one is the correct algorithm:
Method A)
[2A + (F + 2S)] / 2 = [ (2)(22.50) + [35.50 + (2)(7.18)] ]/ 2 = $47.43
Method A is the correct answer
Method B)
[(2A + (1/2)F + 2S) /2 = [(2)(22.50) + 35.50(1/2) + (2)7.18] / 2 = $38.55
Wrong answer. This method is incorrect because the tax for both tickets bought are not being used in the equation.
Method C)
[(A + F) / 2 ]+ S = [(22.50 + 35.50) / 2 ] + 7.18 = $35.93
Wrong answer. Incorrect Method. The food cost is being reduced to the cost of one person but admission price is set for two people.
It depends on how big the fish tank is. I need the image