By idiots - 29/11/2014 03:36 - United States - Fort Worth
Add a comment - Reply to : #
Time to bring out some pictures, diagrams, and visual aides...
Well the function computes the final price depending on the initial price and how much the price is reduced. For example if the initial price is 50 and you get 50% off of it then to calculate how much you'll pay you do 50(initial price) minus 50% of the initial cost(50) which is 50 - (50/100)*50 or 50 - (50*50)/100 which is the exact same formula as the function I gave above. Only when you compute the function on a certain range of prices you get the general idea what's happening. You can always take a slice of the 3D graph for example when the price is 50 and you'll have a normal 1 variable function. The good thing about computing the multivariable one is that you can clearly see the behavior of the final price and the zeros are clearly visible. Of course in OP's case a normal 1 variable function would be enough but c'mon how can you miss the opportunity to use 3D graphs :D
It's really quite sad that #43 is being downvoted for being smart and mathematically superior to the rest of the FML community. I am ashamed of you folks for being so ashamed of yourselves to put someone down. Yet I'm not sure if he's right because math isn't my forte. Still ashamed of something nonetheless