Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ ¹ ² ³ °
 

You are not logged in. #1 20130118 11:39:06
mathThe Phony Bologna Meat Company offers two platters. Platter A comes with 4 hamburgers, 3 hot dogs, and 2 pig's feet, and costs $15. Platter B comes with 3 hamburgers, 4 hot dogs, and 5 pig's feet, and costs $12. I see you have graph paper. You must be plotting something #3 20130118 23:52:08
Re: mathHi cooljackiec, Last edited by phrontister (20130119 15:02:45) "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson #4 20130120 10:13:00
Re: mathHi Bobby, "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson #5 20130120 12:22:37
Re: mathSuppose the order is for of Platter A and of Platter B. Then we have: We want to minimize subject to the above constraints. Let us then rewrite the above inequalities in terms of and one of and , say . The 1st and 2nd inequalities give , the 1st and 3rd inequalities give , and the 2nd and 3rd inequalities give . The minimum appears to be 855 – however would imply , which does not satisfy the 2nd inequality. So we must instead have . Thus the minimum cost is $870 dollars for 10 of Platter A and 60 of Platter B. Last edited by scientia (20130120 12:27:16) #6 20130120 12:42:45
Re: mathHi;
This is a linear optimization problem, sometimes called linear programming. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #7 20130120 13:03:25
Re: mathHi Bobby and scientia, That tiny M code is amazing! The right tool for the task. "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson #8 20130120 13:11:11
Re: mathHi phrontister; In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #9 20130120 13:18:41
Re: mathFWIW = For what it's worth. "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson #10 20130120 13:27:30
Re: mathAhhhhhh! Nice neat code by the way. In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #11 20130120 13:48:35
Re: mathThanks...I'm happy with the code. Runs in the blink of an eye, too. "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson 