Unknown resistance and emf