Let the vectors \(\overline{\mathrm{a}}, \overline{\mathrm{b}}, \overline{\mathrm{c}}\) be such that \(|\overline{\mathrm{a}}|=2,|\overline{\mathrm{~b}}|=4\) and \(|\bar{c}|=4\). If the projection of \(\bar{b}\) on \(\bar{a}\) is equal to the projection of \(\overline{\mathrm{c}}\) on \(\overline{\mathrm{a}}\) and \(\overline{\mathrm{b}}\) is perpendicular to \(\overline{\mathrm{c}}\), then the value of \(|\overline{\mathrm{a}}+\overline{\mathrm{b}}-\overline{\mathrm{c}}|\) is equal to