How do you calculate weekly and weekend prices from given information?

  • Thread starter Thread starter learntheweek
  • Start date Start date
learntheweek
Messages
1
Reaction score
0
Hey guys,

Quick q that my friend posed and am struggling with.

Imagine that something has a difference price for weekends and for weekdays. Imagine that differnce is x and that the price of weekdays is higher.

Say you know the average price for the month, the number of weekdays and weekend days.

How do you calculate the weekly price and the weekend price from available info?
Thanks alot!
 
Mathematics news on Phys.org
This problem is easily solved via substitution method but as far as I read you need one more constant. If you give the exact numbers that you have it is easier to demonstrate. For examples sake I will make up some numbers. Let's say we know the following: 20 weekdays, 8 weekend days, average price is $15, and the difference in price is $7. You will need to setup 2 equations to solve with substitution. We will assign weekday price as X and weekend price as Y. Here are your 2 equations:
1)(20X+8Y)/28=15. That is 20 weekdays times the weekday price added to 8 weekend days times the weekend price, then divided by 28 total days gives you the avg of 15.
2)X-Y=7. That is weekday price minus weekend price is $7.
Now we substitute. First we change one equation to solve for one variable, let's go with the second. I will add Y to both sides to rewrite the equation as X=7+Y. Now that I have one equation for X I will plug that into the first which will look like this:
[20(7+Y)+8Y]/28=15
Now distribute the 20 and multiply both sides by 28 to get:
140+20Y+8Y=420, then combine like terms to get:
140+28Y=420, then subtract 140 from both sides to get:
28Y=280, then divide both sides by 28 to get:
Y=10. Now you have your weekend price of $10. Plug that into your original 2nd equation to get:
X-10=7, then add 10 to both sides to get:
X=17.
Now you have X=17 and Y=10 which is your weekday and weekend prices.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top