Develop a general-purpose computer application (using EES or other software) that employs the affinity laws to design a new pump (B) that is dynamically similar to a given pump (A). The inputs for pump A are diameter, net head, capacity, density, rotational speed, and pump efficiency. The inputs for pump B are density ( $\rho_{\mathrm{B}}$ may differ from $\rho_{\mathrm{A}}$ ), desired net head, and desired capacity. The outputs for pump B are diameter, rotational speed, and required shaft power. Test your program using the following inputs: $D_{\mathrm{A}}=5.0 \mathrm{~cm}, H_{\mathrm{A}}=120 \mathrm{~cm}, \dot{V}_{\mathrm{A}}$ $=400 \mathrm{~cm}^3 / \mathrm{s}, \rho_{\mathrm{A}}=998.0 \mathrm{~kg} / \mathrm{m}^3, \dot{n}_{\mathrm{A}}=1725 \mathrm{rpm}, \eta_{\text {pump. } \mathrm{A}}$ $=81$ percent, $\rho_{\mathrm{B}}=1226 \mathrm{~kg} / \mathrm{m}^3, H_{\mathrm{B}}=450 \mathrm{~cm}$, and $\dot{V}_{\mathrm{B}}$ $=2400 \mathrm{~cm}^3 / \mathrm{s}$. Verify your results manually. Answers: $D_{\mathrm{e}}$ $=8.80 \mathrm{~cm}, \dot{n}_{\mathrm{B}}=1898 \mathrm{rpm}$, and bhp $\mathrm{p}_{\mathrm{B}}=160 \mathrm{~W}$