Solution:
Given:
Let the amount of Type 1 nitric acid used be represented by a
Let the amount of Type 2 nitric acid used be represented by b
Hence, the system of equations is;
![\begin{gathered} Total\text{ }grams\text{ used is 42g} \\ a+b=42.................(1) \\ \\ \\ Cost\text{ of type 1 nitric acid is }0.45a \\ Cost\text{ of type 2 nitric acid is 0.30b} \\ Total\text{ cost of 42g used is \$14.40} \\ Hence, \\ 0.45a+0.30b=14.40...............(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/5ei1tc8ckn98ipzq6qo1bhzoso01hhgas9.png)
Thus, solving the system of equations simultaneously,
From equation (1),
![\begin{gathered} a=42-b \\ \\ Substitute\text{ into equation \lparen2\rparen} \\ 0.45(42-b)+0.3b=14.4 \\ 18.9-0.45b+0.3b=14.4 \\ 18.9-0.15b=14.4 \\ 18.9-14.4=0.15b \\ 4.5=0.15b \\ \\ Hence, \\ (4.5)/(0.15)=b \\ b=30 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/93bxg6782t1fuqmyg5jo20nb87m0yl1z9m.png)
Solving for a,
![\begin{gathered} a=42-b \\ a=42-30 \\ a=12 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/tpxztxcbk3xf4bnyalg43qeinvw0qifhx9.png)
Therefore, the answer is;
12 grams of Type 1 and 30 grams of Type 2