solve ln