Systems operation

29 Views Asked by At

I have these equations and I want to use matrices to solve for the variables. How would I have to set up the matrices, if that is possible?

$$\begin{cases}C_1 = 12 + 0.1 {h_1}^2\\ C_2 = 2 + {h_2}^2 + 10(h_2 + h_4)\\ C_3 = 10 + 0.1 {h_3}^2\\ C_4 = 3 + {h_4}^2 + 10(h_2 + h_4) \end{cases} \text{ subject to } \begin{cases}C_1 = C_2\\ C_3 = C_4\\ h_3 + h_4 = 10\\ h_1 + h_2 = 10\\ h_1 + h_2 + h_3 + h_4 = 20 \end{cases} $$