Okay guys, I've reached the next chapter of my book (I'm teaching myself prop logic), and there is a question which asks you to put a real life scenario sequence into prop logic form. I think I know the answer, but there are no answers to confirm my understanding.

So, this is the question:

P represents the proposition 'the toaster is switched on'

Q represents the proposition 'the toaster is plugged in to the mains'

R represents the proposition 'the toast (or bread for the picky ones of you!) is cooking'

In propositional logic, write this event:

'If the toaster is plugged in, when it is switched on, the toast is cooking'

I think it would be R ⇒ (P ∧ Q)

...but as I say, there are no answers in the book to check. So could someone tell me whether it is right or wrong and explain why it is right or wrong?

Thanks!