Are you good at math?
It should be a system of equations i think.
10*cow+ 3*pig + .5 * chicken = $100
cow+pig+chicken = 100
there should also be another equation but i haven't figured it out.
10*cow+ 3*pig + .5 * chicken = $100
cow+pig+chicken = 100
there should also be another equation but i haven't figured it out.
I think you can do it using some matrix junk but, I would bet he's not doing that and I don't really feel like figuring it out right now. I'm thinking I could prolly do it using C++ and Mathlab too but I know he's not doing that.
Maybe you can do it with three equations?.. I haven't done that stuff in a looong time and have no idea how to do it.
Isn't it something like:
10(cow) + 3(pig) + 0.5(chicken) = cow + pig + chicken
Then isolate the variables one at a time:
9(cow) + 2(pig) = 0.5(chicken)
9(cow) - 0.5(chicken) = -2(pig)
2(pig) - 0.5(chicken) = -9(cow)
Then do whatever with them?

Maybe you can do it with three equations?.. I haven't done that stuff in a looong time and have no idea how to do it.
Isn't it something like:
10(cow) + 3(pig) + 0.5(chicken) = cow + pig + chicken
Then isolate the variables one at a time:
9(cow) + 2(pig) = 0.5(chicken)
9(cow) - 0.5(chicken) = -2(pig)
2(pig) - 0.5(chicken) = -9(cow)
Then do whatever with them?
Thread
Thread Starter
Forum
Replies
Last Post




