Translate the following inference to logic notation: It is late or Jennifer is writing a letter. Jennifer is writing a letter if and only if Joseph is bored. If it is late, then Joseph is bored. If Joseph were bored, then Linda is a scientist. Therefore Linda is a scientist.
p or q. q <-> r. p -> r. r -> s. Therefore s.