def get_E(K, nu):
  """
  Returns Young's modulus given bulk modulus and Poisson's ratio

  Parameters
  ----------
  K : float
      Bulk modulus
  nu : float
      Poisson's ratio

  Returns
  -------
  float
      Young's modulus
  """
  return 3. * K * (1. - 2. * nu)