00:01
This problem, we're told that there's a 30 % discount on the prices of certain items in the store.
00:12
So if i say that x equals the original price on the shelf, and i know there's a 30 % discount on the price run x, right? i can write a function that says that maybe d, the discount of price, is equal to 0 .3.
00:39
Times x, the original price.
00:48
Actually, now i'll take that, it'll be 0 .7 times x.
00:54
So take 30 % of it off, so i'm actually still paying 70 % of the original price x.
00:59
So, for example, if the original price was $10 for a shirt, you'd only actually be paying $7 because of this 30 % discount.
01:13
We're also told that the register takes off an additional 15 % after the discounted price.
01:23
So the register price is actually going to be 0 .85 or 85 % of the discount price.
01:40
So first we have our original price of x...