The genus of a curve "C" which is the complete intersection of two surfaces "D" and "E" in P3 can also be computed using the adjunction formula. Suppose that "d" and "e" are the degrees of "D" and "E", respectively. Applying the adjunction formula to "D" shows that its canonical divisor is , which is the intersection product of and "D". Doing this again with "E", which is possible because "C" is a complete intersection, shows that the canonical divisor "C" is the product , that is, it has degree . By the Riemann–Roch theorem, this implies that the genus of "C" is