Denote the numbers of executors as x1 for P1 project, x2 for P2 project and x3 for P3 project.
Then we obtain the equations set:
"\\begin{cases} \n8000x_1+4000x_2+3000x_3=217000 \\\\\n4000x_1+3000x_2+5000x_3=142000 \\\\\n2000x_1+4000x_2+8000x_3=132000 \\end{cases}"
Let's multiply the second equation by 2 and the third one by 4:
"\\begin{cases} \n8000x_1+4000x_2+3000x_3=217000 \\\\\n8000x_1+6000x_2+10000x_3=284000 \\\\\n8000x_1+16000x_2+32000x_3=528000 \\end{cases}"
Subtract the first equation from the second and third ones:
"\\begin{cases} \n8000 x_1+4000x_2+3000x_3=217000 \\\\\n2000x_2+7000x_3=67000 \\\\\n12000x_2+29000x_3=311000 \\end{cases}"
Rearrange the second and third equations:
"\\begin{cases} \n8000 x_1+4000x_2+3000x_3=217000 \\\\\n12000x_2+29000x_3=311000 \\\\\n2000x_2+7000x_3=67000 \\end{cases}"
Multiply the third equation by 6:
"\\begin{cases} \n8000 x_1+4000x_2+3000x_3=217000 \\\\\n12000x_2+29000x_3=311000 \\\\\n12000x_2+42000x_3=402000 \\end{cases}"
Subtract the second equation from the third one:
"\\begin{cases} \n8000 x_1+4000x_2+3000x_3=217000 \\\\\n12000x_2+29000x_3=311000 \\\\\n13000x_3=91000 \\end{cases}"
"x_3 = \\frac{91000}{13000} =7"
"12000x_2+29000 \\cdot 7=311000"
"12000x_2=108000"
"x_2 = \\frac{108000}{12000} =9"
"8000 x_1+4000 \\cdot 9+3000 \\cdot 7=217000"
"8000 x_1=160000"
"x_1 = \\frac{160000}{8000} =20"
Answer: project P1 should employ 20 peoples, project P2 should employ 9 peoples and project P3 should employ 7 peoples.
Comments
Leave a comment