Creating a table from a system of linear equations

AI Thread Summary
To create a table from the given prescription for vitamin C and D, the problem can be approached by setting up a system of linear equations using three variables representing the amounts of each liquid. The liquids contain different percentages of vitamins, which need to be converted into grams to relate to the required daily intake. By defining the variables as grams of each liquid, the amounts of vitamins can be expressed in terms of these variables. This method allows for the formulation of equations that can be solved to find the possible combinations of liquids that meet the prescription requirements. Ultimately, this setup will facilitate the creation of a comprehensive table of combinations.
armolinasf
Messages
195
Reaction score
0

Homework Statement


A doctor's prescription calls for a daily intake of liquid containing 40mg of vitamin c and 30mg of vitamin d. There are three liquids that can be used: one contains 20%vitamin c and 30% vitamin d; the second, 40% vitamin c and 20% vitamin d; the third, 30% vitamin c and 50% vitamin d.

Create a table showing the possible combinations that could be used to fill the prescription.




The Attempt at a Solution



I'm not quite sure how to approach this one. I'm thinking of setting it up as a system of linear equations with three variables. I'm having trouble relating the percentages to the amount in grams. Thanks for the help.
 
Physics news on Phys.org
That sounds like a good idea. The three variables you would use (let's call them x, y, z) would then correspond to the amount of liquid you take from each of the three types.
I would choose grams as units for x, y, z; so for example x = 120 corresponds to taking 120 g of liquid one. Then you can easily express the amount of vitamins in terms of x, y and z and draw up your system of equations.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top