Once we have all the components, we substitute them in the formula and do the calculation: