Dr. Madness is very clever. He can solve just about any problem, but he does get tripped up by logic statements. For your first task, you must write a conditional statement to the mayor about your secret plan to defeat Dr. Madness. Then you must change your statement into three different "secret codes" and write the statement in those codes. Your three secret codes will be the inverse, converse, and contrapositive of the conditional. Be sure to identify which statement is which, so that the mayor can decode the message.
First off, can you write a conditional statement about your plan. It should be in the form `If ______, then _______.`
If Dr. Madness is shot, then he will die.
So in this example, let statement "Dr. Madness is shot"=P and "he will die"=Q. This statement is then in the form `If P, then Q.` For the inverse, you need to write `If not P then not Q`
If Dr. Madness is not shot than he will not die
Perfect. Next up, we have the converse. This is `If Q, then P`
If Dr. Madness dies then he is shot
Bingo. Finally, we have the contrapositive. `If not Q, then not P`
If Dr. Madness does not die, then Dr. Madness is not shot.
And that's all there is to it. Good job.
Thank you! this isn't even my assignment. but will be asking more questions :)
Join our real-time social learning platform and learn together with your friends!